HomeDocs
Skip to main content

dlt.navigateToApp

Introduction

Open an external application by its package name, this API is only open to internal use.

Parameters

Object object

PropertyTypeDefault ValueRequiredDescription
packageNamestringYesThe package name of the application to open.
successfunctionNoCallback function for a successful API call.
failfunctionNoCallback function for a failed API call.
completefunctionNoCallback function that is called when the API call is complete (whether successful or not).

Example Code

dlt.navigateToApp({
packageName: 'com.example.app',
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.