CardEmulation.IsDefaultServiceForAid(ComponentName, String) 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.
Allows an application to query whether a service is currently the default handler for a specified ISO7816-4 Application ID.
[Android.Runtime.Register("isDefaultServiceForAid", "(Landroid/content/ComponentName;Ljava/lang/String;)Z", "")]
public bool IsDefaultServiceForAid (Android.Content.ComponentName? service, string? aid);
[<Android.Runtime.Register("isDefaultServiceForAid", "(Landroid/content/ComponentName;Ljava/lang/String;)Z", "")>]
member this.IsDefaultServiceForAid : Android.Content.ComponentName * string -> bool
Parameters
- service
- ComponentName
The ComponentName of the service
- aid
- String
The ISO7816-4 Application ID
Returns
whether the service is the default handler for the specified AID
<p class="note">Requires the <code data-dev-comment-type="c">android.Manifest.permission#NFC</code> permission.
- Attributes
Remarks
Allows an application to query whether a service is currently the default handler for a specified ISO7816-4 Application ID.
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.