public class CorePushIntentService
extends com.google.android.gcm.GCMBaseIntentService
GCMサービスのデバイス登録や削除、通知の受信を行うサービスクラス
START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITYACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_NOT_FOREGROUND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, UI_MODE_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| コンストラクタと説明 |
|---|
CorePushIntentService() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
onDeletedMessages(android.content.Context context,
int total) |
void |
onError(android.content.Context context,
java.lang.String errorId)
GCMサービスのデバイスの登録、解除でエラーが発生した時に呼び出される。
|
protected void |
onMessage(android.content.Context context,
android.content.Intent intent)
通知のメッセージを受信した時に呼び出される。
|
protected boolean |
onRecoverableError(android.content.Context context,
java.lang.String errorId) |
protected void |
onRegistered(android.content.Context context,
java.lang.String registrationId)
デバイスがGCMサービスに登録後、呼び出される。
|
protected void |
onUnregistered(android.content.Context context,
java.lang.String registrationId)
デバイスがGCMサービスから解除された後、呼び出される。
|
onBind, onCreate, onDestroy, onStart, onStartCommand, setIntentRedeliverydump, finalize, getApplication, onConfigurationChanged, onLowMemory, onRebind, onUnbind, setForeground, startForeground, stopForeground, stopSelf, stopSelf, stopSelfResultattachBaseContext, bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getSystemService, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setTheme, setWallpaper, setWallpaper, startActivity, startInstrumentation, startIntentSender, startService, stopService, unbindService, unregisterReceiverprotected void onRegistered(android.content.Context context,
java.lang.String registrationId)
onRegistered クラス内 com.google.android.gcm.GCMBaseIntentServiceprotected void onUnregistered(android.content.Context context,
java.lang.String registrationId)
onUnregistered クラス内 com.google.android.gcm.GCMBaseIntentServiceprotected void onMessage(android.content.Context context,
android.content.Intent intent)
onMessage クラス内 com.google.android.gcm.GCMBaseIntentServiceprotected void onDeletedMessages(android.content.Context context,
int total)
onDeletedMessages クラス内 com.google.android.gcm.GCMBaseIntentServicepublic void onError(android.content.Context context,
java.lang.String errorId)
onError クラス内 com.google.android.gcm.GCMBaseIntentServiceprotected boolean onRecoverableError(android.content.Context context,
java.lang.String errorId)
onRecoverableError クラス内 com.google.android.gcm.GCMBaseIntentService