CardEmulation.RemoveAidsForService(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.
Removes a previously registered list of AIDs for the specified category for the service provided.
[Android.Runtime.Register("removeAidsForService", "(Landroid/content/ComponentName;Ljava/lang/String;)Z", "")]
public bool RemoveAidsForService (Android.Content.ComponentName? service, string? category);
[<Android.Runtime.Register("removeAidsForService", "(Landroid/content/ComponentName;Ljava/lang/String;)Z", "")>]
member this.RemoveAidsForService : Android.Content.ComponentName * string -> bool
Parameters
- service
- ComponentName
The component name of the service
- category
- String
The category of the AIDs to be removed, e.g. #CATEGORY_PAYMENT
Returns
whether the group was successfully removed.
- Attributes
Remarks
Removes a previously registered list of AIDs for the specified category for the service provided.
Note that this will only remove AIDs that were dynamically registered using the #registerAidsForService(ComponentName, String, List)
method. It will *not* remove AIDs that were statically registered in the manifest. If dynamically registered AIDs are removed using this method, and a statically registered AID group for the same category exists in the manifest, the static AID group will become active again.
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.