Summary:
Methods
| Inherited Methods
MediaSession.ControllerInfo
public
static
final
class
MediaSession.ControllerInfo
extends Object
java.lang.Object | |
↳ | androidx.media2.session.MediaSession.ControllerInfo |
Information of a controller.
Summary
Public methods | |
---|---|
boolean
|
equals(Object obj)
|
Bundle
|
getConnectionHints()
|
String
|
getPackageName()
|
int
|
getUid()
|
int
|
hashCode()
|
String
|
toString()
|
Inherited methods | |
---|---|
Public methods
equals
public boolean equals (Object obj)
Parameters | |
---|---|
obj |
Object |
Returns | |
---|---|
boolean |
getConnectionHints
public Bundle getConnectionHints ()
Returns | |
---|---|
Bundle |
connection hints sent from controller, or Bundle.EMPTY if none.
|
getPackageName
public String getPackageName ()
Returns | |
---|---|
String |
package name of the controller. Can be
MediaSessionManager.RemoteUserInfo.LEGACY_CONTROLLER if
the package name cannot be obtained.
|
getUid
public int getUid ()
Returns | |
---|---|
int |
uid of the controller. Can be a negative value if the uid cannot be obtained. |
hashCode
public int hashCode ()
Returns | |
---|---|
int |
toString
public String toString ()
Returns | |
---|---|
String |