Share via


NfcAdapter.SetBeamPushUrisCallback Method

Definition

Set a callback that will dynamically generate one or more Uris to send using Android Beam (TM).

[Android.Runtime.Register("setBeamPushUrisCallback", "(Landroid/nfc/NfcAdapter$CreateBeamUrisCallback;Landroid/app/Activity;)V", "")]
public void SetBeamPushUrisCallback (Android.Nfc.NfcAdapter.ICreateBeamUrisCallback? callback, Android.App.Activity? activity);
[<Android.Runtime.Register("setBeamPushUrisCallback", "(Landroid/nfc/NfcAdapter$CreateBeamUrisCallback;Landroid/app/Activity;)V", "")>]
member this.SetBeamPushUrisCallback : Android.Nfc.NfcAdapter.ICreateBeamUrisCallback * Android.App.Activity -> unit

Parameters

callback
NfcAdapter.ICreateBeamUrisCallback

callback, or null to disable

activity
Activity

activity for which the Uri(s) will be pushed

Attributes

Remarks

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