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
JavaScript Suite Documentation
AppInfo

AppInfo Class Reference

Constructors

Instance Methods

Constructors

new AppInfo(parameters)

Initializes an instance of AppInfo.

Instance Methods

appInfo.getAppBundleID() ⇒ String

Get the AppBundleID

Kind: Instance method of AppInfo
Returns: String - the KEY_APP_BUNDLE_ID value

appInfo.getAppDisplayName() ⇒ String

Get the AppDisplayName

Kind: Instance method of AppInfo
Returns: String - the KEY_APP_DISPLAY_NAME value

appInfo.getAppIcon() ⇒ String

Get the AppIcon

Kind: Instance method of AppInfo
Returns: String - the KEY_APP_ICON value

appInfo.getAppVersion() ⇒ String

Get the AppVersion

Kind: Instance method of AppInfo
Returns: String - the KEY_APP_VERSION value

appInfo.setAppBundleID(id) ⇒ AppInfo

Set the AppBundleID

Kind: Instance method of AppInfo
Returns: AppInfo - The class instance for method chaining.

ParamTypeDescription
id String The AppBundleID of an iOS application or package name of the Android application. This supports App Launch strategies for each platform. - The desired AppBundleID. {'string_min_length': 1, 'string_max_length': 256}

appInfo.setAppDisplayName(name) ⇒ AppInfo

Set the AppDisplayName

Kind: Instance method of AppInfo
Returns: AppInfo - The class instance for method chaining.

ParamTypeDescription
name String The name displayed for the mobile application on the mobile device (can differ from the app name set in the initial RAI request). - The desired AppDisplayName. {'string_min_length': 1, 'string_max_length': 100}

appInfo.setAppIcon(icon) ⇒ AppInfo

Set the AppIcon

Kind: Instance method of AppInfo
Returns: AppInfo - The class instance for method chaining.

ParamTypeDescription
icon String A file reference to the icon utilized by this app (simplifies the process of setting an app icon during app registration). - The desired AppIcon. {'string_min_length': 1, 'string_max_length': 500}

appInfo.setAppVersion(version) ⇒ AppInfo

Set the AppVersion

Kind: Instance method of AppInfo
Returns: AppInfo - The class instance for method chaining.

ParamTypeDescription
version String Represents the build version number of this particular mobile app. - The desired AppVersion. {'string_min_length': 1, 'string_max_length': 256}
View on GitHub.com
Previous Section Next Section