NfcFCardEmulation.SetNfcid2ForService(ComponentName, String) Method

Definition

Set a NFCID2 for the specified service.

[Android.Runtime.Register("setNfcid2ForService", "(Landroid/content/ComponentName;Ljava/lang/String;)Z", "", ApiSince=24)]
public bool SetNfcid2ForService (Android.Content.ComponentName? service, string? nfcid2);
[<Android.Runtime.Register("setNfcid2ForService", "(Landroid/content/ComponentName;Ljava/lang/String;)Z", "", ApiSince=24)>]
member this.SetNfcid2ForService : Android.Content.ComponentName * string -> bool

Parameters

service
ComponentName

The component name of the service

nfcid2
String

The NFCID2 to be registered

Returns

Boolean

whether the setting was successful.

Attributes

Remarks

Java documentation for android.nfc.cardemulation.NfcFCardEmulation.setNfcid2ForService(android.content.ComponentName, java.lang.String).

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