AppLaunchListener

com.connectsdk.service.capability.Launcher.AppLaunchListener

extends ResponseListener

Success listener that is called upon successfully launching an app.

Passes a LaunchSession Object containing important information about the app’s launch session

Inherited Methods

void onSuccess (T object)

Returns the success of the call of type T.

Parameters:

  • object – Response object, can be any number of object types, depending on the protocol/capability/etc
void onError (ServiceCommandError error)

Method to return the error that was generated. Will pass an error object with a helpful status code and error message.

Parameters:

  • error – ServiceCommandError describing the error