Partager via


MtpDeviceInfo.IsEventSupported(EventCode) Method

Definition

Returns if the given event is supported by the device or not.

[Android.Runtime.Register("isEventSupported", "(I)Z", "GetIsEventSupported_IHandler", ApiSince=24)]
public virtual bool IsEventSupported (Android.Mtp.EventCode code);
[<Android.Runtime.Register("isEventSupported", "(I)Z", "GetIsEventSupported_IHandler", ApiSince=24)>]
abstract member IsEventSupported : Android.Mtp.EventCode -> bool
override this.IsEventSupported : Android.Mtp.EventCode -> bool

Parameters

code
EventCode

Event code.

Returns

If the given event is supported by the device or not.

Attributes

Remarks

Returns if the given event is supported by the device or not.

Java documentation for android.mtp.MtpDeviceInfo.isEventSupported(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