1.0.1 ENABLE.application
Namespace: application
Methods
-
static ENABLE.application.emitDeeplink (config) {Object}
-
This is Android System specific. This APIs 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 config
Object Name Type Description action
String optional An action name, such as ACTION_VIEW. Application-specific actions should be prefixed with the vendor's package name.
data
String 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.
package
String optional An explicit application package name that limits the components Intent will resolve to.
activity
String optional An explicit class name inside of the application package that limits the components Intent will resolve to.
extras
Object optional Key value pair of extended data to the intent in Object format.
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
or
ENABLE.status.INVALID_ARGUMENT
or
ENABLE.status.ERROR
-
static ENABLE.application.getPackageList () {Object}
-
This is Android System specific. Return list of packages installed on STB.
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description result
Array.<Object> An array of object the following parameters. Omitted when error. Name Type Description app_label
String Display name of application. package_name
String Package name of application. launch_intent
Object An intent for Android system to launch a new activity. Name Type Description action
String An action name, such as ACTION_VIEW. Application-specific actions should be prefixed with the vendor's package name. data
String 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. package
String An explicit application package name that limits the components Intent will resolve to. activity
String An explicit class name inside of the application package that limits the components Intent will resolve to. extras
Object Key value pair of extended data to the intent in Object format. in_system_image
Boolean Whether the application is part of system image. in_system_image
Boolean Whether the application is part of system image. status_code
String ENABLE.status.SUCCESS
or
ENABLE.status.ERROR
-
static ENABLE.application.launchAndroidSystemSettings () {Object}
-
Launch the native Android System Settings application
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
or
ENABLE.status.ERROR
-
static ENABLE.application.launchSettingsMenu () {Object}
-
Launch the Amino Settings Menu application
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
or
ENABLE.status.ERROR
-
static ENABLE.application.launchSetupWizard () {Object}
-
Launch the Amino Setup Wizard application
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
or
ENABLE.status.ERROR
-
static ENABLE.application.terminate () {Object}
-
Terminate this Android Application
- Since:
-
- 1.0.0
Returns:
Name Type Description object
Object Name Type Description status_code
String ENABLE.status.SUCCESS
or
ENABLE.status.ERROR