FileDocCategorySizeDatePackage
MediaSessionCompatApi8.javaAPI DocAndroid 5.1 API1293Thu Mar 12 22:22:56 GMT 2015android.support.v4.media.session

MediaSessionCompatApi8

public class MediaSessionCompatApi8 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidregisterMediaButtonEventReceiver(android.content.Context context, android.content.ComponentName mbr)

        AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
        am.registerMediaButtonEventReceiver(mbr);
    
public static voidunregisterMediaButtonEventReceiver(android.content.Context context, android.content.ComponentName mbr)

        AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
        am.unregisterMediaButtonEventReceiver(mbr);