Package com.zendesk.sdk.rating.impl
Class RateMyAppDontAskAgainButton
- java.lang.Object
-
- com.zendesk.sdk.rating.impl.BaseRateMyAppButton
-
- com.zendesk.sdk.rating.impl.RateMyAppDontAskAgainButton
-
- All Implemented Interfaces:
- RateMyAppButton, java.io.Serializable
public class RateMyAppDontAskAgainButton extends BaseRateMyAppButton
This button is for when you want to dismiss the dialog and never show it again to the user.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RateMyAppDontAskAgainButton(Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getId()
Gets the id that the button view will be associated with when it is created.java.lang.String
getLabel()
Gets the text label that will be applied to the buttonView.OnClickListener
getOnClickListener()
Gets the click listener that will be called when the button is tapped.-
Methods inherited from class com.zendesk.sdk.rating.impl.BaseRateMyAppButton
getStyleAttributeId, shouldDismissDialog
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Description copied from interface:RateMyAppButton
Gets the text label that will be applied to the button- Returns:
- The string to be applied to the RateMyAppButton
-
getOnClickListener
public View.OnClickListener getOnClickListener()
Description copied from interface:RateMyAppButton
Gets the click listener that will be called when the button is tapped.- Returns:
- the
android.view.View.OnClickListener
that will be invoked for this button
-
getId
public int getId()
Description copied from interface:RateMyAppButton
Gets the id that the button view will be associated with when it is created.- Specified by:
getId
in interfaceRateMyAppButton
- Overrides:
getId
in classBaseRateMyAppButton
- Returns:
- the id of the button
-
-