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 theRateMyAppDialog
is 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 boolean
permitsShowOfDialog()
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:RateMyAppRule
Checks if this rule permits the showing of the dialogue, false if it does not- Specified by:
permitsShowOfDialog
in interfaceRateMyAppRule
- Returns:
- true if this rule permits the showing of the dialogue, false if it does not
-
-