Class IdentityRateMyAppRule

  • All Implemented Interfaces:
    RateMyAppRule


    public class IdentityRateMyAppRule
    extends java.lang.Object
    implements RateMyAppRule

    A rule which checks that we have a valid identity. If the identity is valid then we can show the Dialog
    Valid identities are:

    • JWT
    • Anonymous if conversations is enabled
    • Anonymous if conversations is disabled but the identity has an email address
    JWT identities or Anonymous identities with email addresses. Created by Zendesk on 30/07/15.
    • 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
      • Methods inherited from class java.lang.Object

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

      • IdentityRateMyAppRule

        public IdentityRateMyAppRule(Context context)
    • 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 interface RateMyAppRule
        Returns:
        true if this rule permits the showing of the dialogue, false if it does not