Package org.robolectric.shadows
Class ShadowMediaSession
java.lang.Object
org.robolectric.shadows.ShadowMediaSession
@Implements(android.media.session.MediaSession.class)
public class ShadowMediaSession
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void__constructor__(Context context, String tag) static StringReturns the host package name for the givenMediaSession.Token, as tracked across IPC boundaries during session initialization.static voidreset()
-
Constructor Details
-
ShadowMediaSession
public ShadowMediaSession()
-
-
Method Details
-
__constructor__
-
getPackageNameForToken
Returns the host package name for the givenMediaSession.Token, as tracked across IPC boundaries during session initialization. Returnsnullif the token is null or was not registered. -
reset
-