Java Code Examples for android.support.v7.media.MediaRouter#addRemoteControlClient()
The following examples show how to use
android.support.v7.media.MediaRouter#addRemoteControlClient() .
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: RemoteControlClientICS.java From Popeens-DSub with GNU General Public License v3.0 | 5 votes |
@Override public void registerRoute(MediaRouter router) { if(mRemoteControl == null) { return; } router.addRemoteControlClient(mRemoteControl); }
Example 2
Source File: RemoteControlClientCompat.java From android with Apache License 2.0 | 4 votes |
/** * Registers with {@link MediaRouter} * * @param router */ public void addToMediaRouter(MediaRouter router) { if (null != mActualRemoteControlClient) { router.addRemoteControlClient(mActualRemoteControlClient); } }
Example 3
Source File: RemoteControlClientCompat.java From Cheerleader with Apache License 2.0 | 4 votes |
/** * Registers with {@link MediaRouter} * * @param router */ public void addToMediaRouter(MediaRouter router) { if (null != mActualRemoteControlClient) { router.addRemoteControlClient(mActualRemoteControlClient); } }