Compartir a través de


MtpDeviceInfo.IsOperationSupported(OperationCode) Method

Definition

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

[Android.Runtime.Register("isOperationSupported", "(I)Z", "GetIsOperationSupported_IHandler", ApiSince=24)]
public virtual bool IsOperationSupported (Android.Mtp.OperationCode code);
[<Android.Runtime.Register("isOperationSupported", "(I)Z", "GetIsOperationSupported_IHandler", ApiSince=24)>]
abstract member IsOperationSupported : Android.Mtp.OperationCode -> bool
override this.IsOperationSupported : Android.Mtp.OperationCode -> bool

Parameters

code
OperationCode

Operation code.

Returns

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

Attributes

Remarks

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

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