java.lang.Object |
↳ |
com.kinvey.android.push.AbstractPush |
Known Direct Subclasses
GCMPush |
This functionality can be accessed through the push() convenience method. |
|
Class Overview
This class defines the behaviour of a Push implementation, and should be extended within the library to support with new providers.
Summary
Fields |
public
static
final
String |
TAG |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
public
static
final
String
TAG
Public Methods
public
abstract
void
disablePush
()
public
abstract
void
disablePushViaRest
(KinveyClientCallback callback, String deviceID)
Async wrapper for disabling push notifications for the current user
Parameters
callback |
- a callback with results of unregistration |
deviceID |
- the current device's unique id from GCM
|
public
abstract
void
enablePushViaRest
(KinveyClientCallback callback, String deviceID)
Async wrapper for enabling push notification for the current user
Parameters
callback |
- a callback with results of registration |
deviceID |
- the current device's unique id from GCM
|
public
abstract
String
getPushId
()
public
abstract
String[]
getSenderIDs
()
public
abstract
AbstractPush
initialize
(Application currentApp)
public
abstract
boolean
isInProduction
()
public
abstract
boolean
isPushEnabled
()