Class RateMyAppRules



  • public class RateMyAppRules
    extends java.lang.Object
    This class models a collection of RateMyAppRule which must be satisfied before a RateMyAppDialog is permitted to show. Created by Zendesk on 30/07/15.
    • Constructor Summary

      Constructors 
      Constructor and Description
      RateMyAppRules(RateMyAppRule... rules)
      Creates a RateMyAppRules for the given Rules.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean checkRules()
      Checks the rules in order that they were added
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RateMyAppRules

        public RateMyAppRules(RateMyAppRule... rules)
        Creates a RateMyAppRules for the given Rules.
        Parameters:
        rules - The rules to check
    • Method Detail

      • checkRules

        public boolean checkRules()
        Checks the rules in order that they were added
        Returns:
        true if all rules are satisfied, false otherwise