execute

open suspend fun execute(commandTypeId: String, timeout: Duration, args: Bundle = Bundle.EMPTY): Result<Bundle>

Execute a custom command. Please ever call this function directly only if you have implemented the custom command in the target Nav App yourself.

Parameters

commandTypeId

same ID as the IpcCommandExecutor created for this command has

timeout

time after which CommandTimeoutException will be returned in Result.failure

args

arguments passed to the IpcCommandExecutor created for this command