NfcFCardEmulation.GetSystemCodeForService(ComponentName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the current System Code for the specified service.
[Android.Runtime.Register("getSystemCodeForService", "(Landroid/content/ComponentName;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetSystemCodeForService (Android.Content.ComponentName? service);
[<Android.Runtime.Register("getSystemCodeForService", "(Landroid/content/ComponentName;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetSystemCodeForService : Android.Content.ComponentName -> string
Parameters
- service
- ComponentName
The component name of the service
Returns
the current System Code
- Attributes
Remarks
Retrieves the current System Code for the specified service.
Before calling #registerSystemCodeForService(ComponentName, String)
, the System Code contained in the Manifest file is returned. After calling #registerSystemCodeForService(ComponentName, String)
, the System Code registered there is returned. After calling #unregisterSystemCodeForService(ComponentName)
, "null" is returned.
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.