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()

Gets the connection hints sent from controller, or Bundle.EMPTY if none.

String getPackageName()

Gets the package name.

int getUid()

Gets the UID of the controller.

int hashCode()
String toString()

Inherited methods

Public methods

equals

public boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

getConnectionHints

public Bundle getConnectionHints ()

Gets the connection hints sent from controller, or Bundle.EMPTY if none.

Returns
Bundle

getPackageName