public class TuneGooglePlayServicesDelegate extends Object
Constructor and Description |
---|
TuneGooglePlayServicesDelegate() |
Modifier and Type | Method and Description |
---|---|
static int |
getAppOpsManagerModeAllowed() |
static int |
getConnectionResultSuccessField() |
static Object |
getGCMInstance(Context context) |
static String |
getGoogleCloudMessagingMessageTypeMessageField() |
static String |
getMessageType(Object gcm,
Intent intent) |
static int |
isGooglePlayServicesAvailable(Context context) |
static int |
isNotificationEnabled(Context context) |
static boolean |
isUserRecoverable(int error) |
static String |
registerGCM(Object gcm,
String pushSenderId) |
static void |
unregisterGCM(Object gcm) |
public static Object getGCMInstance(Context context) throws Exception
Exception
public static String registerGCM(Object gcm, String pushSenderId) throws Exception
Exception
public static String getMessageType(Object gcm, Intent intent) throws Exception
Exception
public static String getGoogleCloudMessagingMessageTypeMessageField() throws Exception
Exception
public static int isGooglePlayServicesAvailable(Context context) throws Exception
Exception
public static int getConnectionResultSuccessField() throws Exception
Exception
public static boolean isUserRecoverable(int error) throws Exception
Exception
public static int isNotificationEnabled(Context context) throws Exception
Exception