[ Web Proxy ]
URL:
Viewing: https://developers.google.com/android/reference/com/google/android/gms/wallet/button/ButtonOptions [Back]  [Original]

ButtonOptions  |  Google Play services  |  Google for Developers Skip to main content

ButtonOptions Stay organized with collections Save and categorize content based on your preferences.

outlined_flag
public final class ButtonOptions extends Object
implements Parcelable Parcelable

Define configurations for Android Dynamic Button

Nested Class Summary

class ButtonOptions.Builder Builder for building ButtonOptions

Inherited Constant Summary

Field Summary

public static final Creator<ButtonOptions> CREATOR

Public Method Summary

boolean
equals(Object other)
String
getAllowedPaymentMethods()
Return stringified JSON of allowedPaymentMethods
int
getButtonTheme()
Return button theme
int
getButtonType()
Return button type
int
getCornerRadius()
Return corner radius value in dp
int
static ButtonOptions.Builder
newBuilder()
Returns a new builder for building a ButtonOptions.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<ButtonOptions> CREATOR

Public Methods

public boolean equals (Object other)

public String getAllowedPaymentMethods ()

Return stringified JSON of allowedPaymentMethods

public int getButtonTheme ()

Return button theme

public int getButtonType ()

Return button type

public int getCornerRadius ()

Return corner radius value in dp

public int hashCode ()

public static ButtonOptions.Builder newBuilder ()

Returns a new builder for building a ButtonOptions.

public void writeToParcel (Parcel dest, int flags)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page