Share via


KeyEvent.IsMediaSessionKey(Int32) Method

Definition

Returns whether this key will be sent to the android.media.session.MediaSession.Callback if not handled.

[Android.Runtime.Register("isMediaSessionKey", "(I)Z", "", ApiSince=31)]
public static bool IsMediaSessionKey (int keyCode);
[<Android.Runtime.Register("isMediaSessionKey", "(I)Z", "", ApiSince=31)>]
static member IsMediaSessionKey : int -> bool

Parameters

keyCode
Int32

Returns

Attributes

Remarks

Returns whether this key will be sent to the android.media.session.MediaSession.Callback if not handled.

Java documentation for android.view.KeyEvent.isMediaSessionKey(int).

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