public final class

MediaRouter.RouteInfo.DynamicGroupState

extends java.lang.Object

 java.lang.Object

↳androidx.mediarouter.media.MediaRouter.RouteInfo.DynamicGroupState

Overview

Represents the dynamic group state of the MediaRouter.RouteInfo.

Summary

Methods
public intgetSelectionState()

Gets the selection state of the route when the MediaRouteProvider of the route supports dynamic group.

public booleanisGroupable()

public booleanisTransferable()

public booleanisUnselectable()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public int getSelectionState()

Gets the selection state of the route when the MediaRouteProvider of the route supports dynamic group.

Returns:

The selection state of the route: MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.UNSELECTED, MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.SELECTING, or MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.SELECTED.

public boolean isUnselectable()

public boolean isGroupable()

public boolean isTransferable()