NfcFCardEmulation.DisableService(Activity) Method

Definition

Disables the service for the specified Activity.

[Android.Runtime.Register("disableService", "(Landroid/app/Activity;)Z", "", ApiSince=24)]
public bool DisableService (Android.App.Activity? activity);
[<Android.Runtime.Register("disableService", "(Landroid/app/Activity;)Z", "", ApiSince=24)>]
member this.DisableService : Android.App.Activity -> bool

Parameters

activity
Activity

The activity which the service was registered for

Returns

Boolean

true when successful

Attributes

Remarks

Java documentation for android.nfc.cardemulation.NfcFCardEmulation.disableService(android.app.Activity).

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