use of com.connectsdk.service.sessions.LaunchSession in project butter-android by butterproject.
the class WebOSTVService method joinApp.
/* Join a native/installed webOS app */
public void joinApp(String appId, WebAppSession.LaunchListener listener) {
LaunchSession launchSession = LaunchSession.launchSessionForAppId(appId);
launchSession.setSessionType(LaunchSessionType.App);
launchSession.setService(this);
joinWebApp(launchSession, listener);
}
use of com.connectsdk.service.sessions.LaunchSession in project butter-android by butterproject.
the class FireTVService method createMediaLaunchObject.
private MediaLaunchObject createMediaLaunchObject() {
LaunchSession launchSession = new LaunchSession();
launchSession.setService(this);
launchSession.setSessionType(LaunchSession.LaunchSessionType.Media);
launchSession.setAppId(remoteMediaPlayer.getUniqueIdentifier());
launchSession.setAppName(remoteMediaPlayer.getName());
MediaLaunchObject mediaLaunchObject = new MediaLaunchObject(launchSession, this);
return mediaLaunchObject;
}
Aggregations