java.lang.Object | |
↳ | android.media.MediaRouter.RouteCategory |
Definition of a category of routes. All routes belong to a category.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Return the properly localized/configuration dependent name of this RouteCategory.
|
||||||||||
|
|
||||||||||
|
Return the current list of routes in this category that have been added
to the MediaRouter.
|
||||||||||
|
|
||||||||||
|
Return whether or not this category supports grouping.
|
||||||||||
|
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Return the properly localized/configuration dependent name of this RouteCategory.
context | Context to resolve name resources |
---|
Return the current list of routes in this category that have been added to the MediaRouter.
This list will not include routes that are nested within RouteGroups. A RouteGroup is treated as a single route within its category.
out | a List to fill with the routes in this category. If this parameter is non-null, it will be cleared, filled with the current routes with this category, and returned. If this parameter is null, a new List will be allocated to report the category's current routes. |
---|
Return whether or not this category supports grouping.
If this method returns true, all routes obtained from this category
via calls to
getRouteAt(int)
will be
MediaRouter.RouteGroup
s.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See
Writing a useful
toString
method
if you intend implementing your own
toString
method.