Class of android.media · MediaRouter.java · Android's reference
public class MediaRouter
Media routes: the only route is the device's own speaker, and no other route is ever found.
public static final int ROUTE_TYPE_LIVE_AUDIO = 1 sourcepublic static final int ROUTE_TYPE_LIVE_VIDEO = 2 sourcepublic static final int ROUTE_TYPE_USER = 0x800000 sourcepublic static final int CALLBACK_FLAG_PERFORM_ACTIVE_SCAN = 1 sourcepublic static final int CALLBACK_FLAG_UNFILTERED_EVENTS = 2 sourcepublic MediaRouter() empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.