use of com.jaku.request.LaunchAppRequest in project RoMote by wseemann.
the class ChannelFragment method performLaunch.
private void performLaunch(String appId) {
String url = CommandHelper.getDeviceURL(getActivity());
LaunchAppRequest launchAppIdRequest = new LaunchAppRequest(url, appId);
JakuRequest request = new JakuRequest(launchAppIdRequest, null);
new RequestTask(request, new RequestCallback() {
@Override
public void requestResult(RokuRequestTypes rokuRequestType, RequestTask.Result result) {
}
@Override
public void onErrorResponse(RequestTask.Result result) {
}
}).execute(RokuRequestTypes.launch);
}
Aggregations