API Reference

com.kinvey.android.push

Class AbstractPush

  • com.kinvey.android.push.AbstractPush
  • Direct Known Subclasses:
    FCMPush


    public class AbstractPush

    This class defines the behaviour of a Push implementation, and should be extended within the library to support with new providers.

    • Field Detail

      • TAG

        public static java.lang.String TAG
      • pushServiceClass

        public java.lang.Class pushServiceClass
    • Constructor Detail

      • AbstractPush

        public AbstractPush()
    • Method Detail

      • getClient

        public Client<T> getClient()
      • getPushId

        public java.lang.String getPushId()
      • isPushEnabled

        public boolean isPushEnabled()
      • disablePush

        public void disablePush()
      • isInProduction

        public boolean isInProduction()
      • getSenderIDs

        public java.lang.String[] getSenderIDs()
      • enablePushViaRest

        public void enablePushViaRest()

        Async wrapper for enabling push notification for the current user

      • disablePushViaRest

        public void disablePushViaRest()

        Async wrapper for disabling push notifications for the current user

      • getPushServiceClass

        public java.lang.Class getPushServiceClass()
      • setPushServiceClass

        public void setPushServiceClass()