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_labelkey
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetId()Gets the id that the button view will be associated with when it is created.java.lang.StringgetLabel()Gets the text label that will be applied to the buttonView.OnClickListenergetOnClickListener()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:RateMyAppButtonGets 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:RateMyAppButtonGets the click listener that will be called when the button is tapped.- Returns:
- the
android.view.View.OnClickListenerthat will be invoked for this button
-
getId
public int getId()
Description copied from interface:RateMyAppButtonGets the id that the button view will be associated with when it is created.- Specified by:
getIdin interfaceRateMyAppButton- Overrides:
getIdin classBaseRateMyAppButton- Returns:
- the id of the button
-
-