Package com.zendesk.sdk.rating.impl
Class RateMyAppStoreButton
- java.lang.Object
-
- com.zendesk.sdk.rating.impl.BaseRateMyAppButton
-
- com.zendesk.sdk.rating.impl.RateMyAppStoreButton
-
- All Implemented Interfaces:
- RateMyAppButton, java.io.Serializable
public class RateMyAppStoreButton extends BaseRateMyAppButton
Defines a button which is used to take the user to the play store page for their app. It uses the app url that is defined inRateMyAppSettings.getAndroidStoreUrl()
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RateMyAppStoreButton(Context context)
Constructor which will initialise the button with a string value, read from therate_my_app_dialog_positive_action_label
key
-
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
-
-