Context.MediaCommunicationService Field

Definition

Use with #getSystemService(String) to retrieve a android.media.MediaCommunicationManager for managing android.media.MediaSession2.

[Android.Runtime.Register("MEDIA_COMMUNICATION_SERVICE", ApiSince=31)]
public const string MediaCommunicationService;
[<Android.Runtime.Register("MEDIA_COMMUNICATION_SERVICE", ApiSince=31)>]
val mutable MediaCommunicationService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.media.MediaCommunicationManager for managing android.media.MediaSession2.

Java documentation for android.content.Context.MEDIA_COMMUNICATION_SERVICE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to