dlt.navigateToApp
Introduction
Open an external application by its package name, this API is only open to internal use.
Parameters
Object object
Property | Type | Default Value | Required | Description |
---|---|---|---|---|
packageName | string | Yes | The package name of the application to open. | |
success | function | No | Callback function for a successful API call. | |
fail | function | No | Callback function for a failed API call. | |
complete | function | No | Callback function that is called when the API call is complete (whether successful or not). |
Example Code
dlt.navigateToApp({
packageName: 'com.example.app',
});