Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
SdlAppInfo

Class SdlAppInfo

Hierarchy

java.lang.Object

Package
com.smartdevicelink.util

Overview

Created by Joey Grover on 2/2/18.

Constructors

SdlAppInfo( ResolveInfo resolveInfo, PackageInfo packageInfo )

public SdlAppInfo(ResolveInfo resolveInfo,PackageInfo packageInfo)

Constructor Parameters

resolveInfo
packageInfo

SdlAppInfo( ResolveInfo resolveInfo, PackageInfo packageInfo, Context context )

public SdlAppInfo(ResolveInfo resolveInfo,PackageInfo packageInfo,Context context)

Constructor Parameters

resolveInfo
packageInfo
context

Methods

getRouterServiceVersion()

public int getRouterServiceVersion()

isCustomRouterService()

public boolean isCustomRouterService()

getRouterServiceComponentName()

public android.content.ComponentName getRouterServiceComponentName()

toString()

public java.lang.String toString()

deserializeSupportedVehicles( XmlResourceParser parser )

Retrieves the list of vehicle types that are set in the xml file.

public static java.util.List deserializeSupportedVehicles(XmlResourceParser parser)

Method Parameters

parser
The xml parsing interface for the vehicle types xml file.

checkIfVehicleSupported( java.util.List<com.smartdevicelink.proxy.rpc.VehicleType> supportedVehicleList, VehicleType connectedVehicle )

Check to see if a vehicle type is supported.

public static boolean checkIfVehicleSupported(java.util.List<com.smartdevicelink.proxy.rpc.VehicleType> supportedVehicleList,VehicleType connectedVehicle)

Method Parameters

supportedVehicleList
the list of supported vehicle types.
connectedVehicle
the vehicle type to check.

getSupportedVehicles()

Gets app's supported vehicle types.

public java.util.List getSupportedVehicles()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section