Language

WalletCard.Builder.SetCardLocations(IList<Location>) Method

Definition

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

cardLocations
IList<Location>

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.

Applies to