NfcAdapter.DisableForegroundDispatch(Activity) Method

Definition

Disable foreground dispatch to the given activity.

[Android.Runtime.Register("disableForegroundDispatch", "(Landroid/app/Activity;)V", "")]
public void DisableForegroundDispatch (Android.App.Activity? activity);
[<Android.Runtime.Register("disableForegroundDispatch", "(Landroid/app/Activity;)V", "")>]
member this.DisableForegroundDispatch : Android.App.Activity -> unit

Parameters

activity
Activity

the Activity to disable dispatch to

Attributes

Exceptions

if the Activity has already been paused

Remarks

Java documentation for android.nfc.NfcAdapter.disableForegroundDispatch(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