Methods
-
staticENABLE.application.emitDeeplink(config){Object}
application.js, line 59 -
This is Android System specific. This API will emit a intent with provided parameters.
let config = { package: "com.aminocom.browser", data: "https://www.google.com", extras: { "forceUpdate": true } }; ENABLE.application.emitDeeplink(config);Name Type Description configObject Name Type Description actionString optional An action name, such as ACTION_VIEW. Application-specific actions should be prefixed with the vendor's package name.
dataString optional This URI specifies the name of the data; often it uses the content: scheme, specifying data in a content provider. Other schemes may be handled by specific activities, such as http: by the web browser.
packageString optional An explicit application package name that limits the components Intent will resolve to.
activityString optional An explicit class name inside of the application package that limits the components Intent will resolve to.
extrasObject optional Key value pair of extended data to the intent in Object format.
flagsObject optional Name Type Description clearTaskboolean optional Default
false. This flag will cause any existing task that would be associated with the activity to be cleared before the activity is started.- Since:
- 1.4.0
Returns:
Name Type Description objectObject Name Type Description status_codeString ENABLE.status.SUCCESSor
ENABLE.status.INVALID_ARGUMENTor
ENABLE.status.ERROR -
staticENABLE.application.getPackageList(){Object}
application.js, line 119 -
This is Android System specific. Return list of packages installed on STB.
- Since:
- 1.0.0
Returns:
Name Type Description objectObject Name Type Description resultArray.<Object> Returns the following array of objects. When an error occurs the it returns an empty array. Name Type Description app_labelString Display name of application. package_nameString Package name of application. launch_intentObject An intent for Android system to launch a new activity. Name Type Description actionString An action name, such as ACTION_VIEW. Application specific actions should be prefixed with the vendor package name. dataString This URI specifies the name of the data; often it uses the content: scheme, specifying data in a content provider. Other schemes may be handled by specific activities, such as http: by the web browser. packageString An explicit application package name that limits the components Intent will resolve to. packageNameString Deprecated, use packageinstead.activityString An explicit class name inside of the application package that limits the components Intent will resolve to. extrasObject Key value pair of extended data to the intent in Object format. in_system_imageBoolean Whether the application is part of system image. status_codeString ENABLE.status.SUCCESSor
ENABLE.status.ERROR -
staticENABLE.application.launchAndroidSystemSettings(){Object}
application.js, line 29 -
Launch the Android System Settings Menu.
- Since:
- 1.0.0
Returns:
Name Type Description objectObject Name Type Description status_codeString ENABLE.status.SUCCESSor
ENABLE.status.ERROR -
staticENABLE.application.launchSettingsMenu(){Object}
application.js, line 97 -
Launch the Amino Settings Menu
- Since:
- 1.0.0
Returns:
Name Type Description objectObject Name Type Description status_codeString ENABLE.status.SUCCESSor
ENABLE.status.ERROR -
staticENABLE.application.launchSetupWizard(){Object}
application.js, line 86 -
Launch the Amino Setup Wizard
- Since:
- 1.0.0
Returns:
Name Type Description objectObject Name Type Description status_codeString ENABLE.status.SUCCESSor
ENABLE.status.ERROR -
staticENABLE.application.terminate(){Object}
application.js, line 74 -
Terminate this Android Application
- Since:
- 1.0.0
Returns:
Name Type Description objectObject Name Type Description status_codeString ENABLE.status.SUCCESSor
ENABLE.status.ERROR