android.support.v7.media.RemotePlaybackClient Java Examples

The following examples show how to use android.support.v7.media.RemotePlaybackClient. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RemotePlayer.java    From android-MediaRouter with Apache License 2.0 5 votes vote down vote up
@Override
public void connect(RouteInfo route) {
    mRoute = route;
    mClient = new RemotePlaybackClient(mContext, route);
    mClient.setStatusCallback(mStatusCallback);

    if (DEBUG) {
        Log.d(TAG, "connected to: " + route
                + ", isRemotePlaybackSupported: " + mClient.isRemotePlaybackSupported()
                + ", isQueuingSupported: "+ mClient.isQueuingSupported());
    }
}
 
Example #2
Source File: RemotePlayer.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
@Override
public void connect(RouteInfo route) {
    mRoute = route;
    mClient = new RemotePlaybackClient(mContext, route);
    mClient.setStatusCallback(mStatusCallback);

    if (DEBUG) {
        Log.d(TAG, "connected to: " + route
                + ", isRemotePlaybackSupported: " + mClient.isRemotePlaybackSupported()
                + ", isQueuingSupported: "+ mClient.isQueuingSupported());
    }
}
 
Example #3
Source File: RemotePlaybackClientAssert.java    From assertj-android with Apache License 2.0 4 votes vote down vote up
public RemotePlaybackClientAssert(RemotePlaybackClient actual) {
  super(actual, RemotePlaybackClientAssert.class);
}