WalletCard.Builder.SetCardLocations(IList<Location>) 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.
Set of locations this card might be useful at.
[Android.Runtime.Register("setCardLocations", "(Ljava/util/List;)Landroid/service/quickaccesswallet/WalletCard$Builder;", "", ApiSince=34)]
public Android.Service.QuickAccessWallet.WalletCard.Builder SetCardLocations(System.Collections.Generic.IList<Android.Locations.Location> cardLocations);
[<Android.Runtime.Register("setCardLocations", "(Ljava/util/List;)Landroid/service/quickaccesswallet/WalletCard$Builder;", "", ApiSince=34)>]
member this.SetCardLocations : System.Collections.Generic.IList<Android.Locations.Location> -> Android.Service.QuickAccessWallet.WalletCard.Builder
Parameters
The locations where the card can be useful. The list and its elements must not be null. An empty list supplies no locations.
Returns
This builder.
- Attributes
Remarks
Set of locations this card might be useful at. If PackageManager.FEATURE_WALLET_LOCATION_BASED_SUGGESTIONS is enabled, the card might be shown to the user when a user is near one of these locations.
Android reference for android.service.quickaccesswallet.WalletCard.Builder.setCardLocations.
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.