Package com.zendesk.sdk.rating.impl
Class NetworkRateMyAppRule
- java.lang.Object
-
- com.zendesk.sdk.rating.impl.NetworkRateMyAppRule
-
- All Implemented Interfaces:
- RateMyAppRule
public class NetworkRateMyAppRule extends java.lang.Object implements RateMyAppRule
A rule which checks that we are connected to the internet before theRateMyAppDialogis allowed to show. Created by Zendesk on 30/07/15.
-
-
Constructor Summary
Constructors Constructor and Description NetworkRateMyAppRule(Context context)Creates a network based rule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanpermitsShowOfDialog()Checks if this rule permits the showing of the dialogue, false if it does not
-
-
-
Method Detail
-
permitsShowOfDialog
public boolean permitsShowOfDialog()
Description copied from interface:RateMyAppRuleChecks if this rule permits the showing of the dialogue, false if it does not- Specified by:
permitsShowOfDialogin interfaceRateMyAppRule- Returns:
- true if this rule permits the showing of the dialogue, false if it does not
-
-