Condividi tramite


GetWalletCardsRequest.CardWidthPx Property

Definition

The desired width of the WalletCard#getCardImage(), in pixels.

public int CardWidthPx { [Android.Runtime.Register("getCardWidthPx", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCardWidthPx", "()I", "", ApiSince=30)>]
member this.CardWidthPx : int

Property Value

Attributes

Remarks

The desired width of the WalletCard#getCardImage(), in pixels. The dimensions of the card image are requested so that it may be rendered without scaling.

The cardWidthPx and cardHeightPx should be applied to the size of the WalletCard#getCardImage(). The size of the card image is specified so that it may be rendered accurately and without distortion caused by scaling.

Java documentation for android.service.quickaccesswallet.GetWalletCardsRequest.getCardWidthPx().

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