com.coreasp
クラス CorePushIntentService

java.lang.Object
  上位を拡張 android.content.Context
      上位を拡張 android.content.ContextWrapper
          上位を拡張 android.app.Service
              上位を拡張 android.app.IntentService
                  上位を拡張 com.google.android.gcm.GCMBaseIntentService
                      上位を拡張 com.coreasp.CorePushIntentService
すべての実装されたインタフェース:
android.content.ComponentCallbacks

public class CorePushIntentService
extends com.google.android.gcm.GCMBaseIntentService

 GCMサービスのデバイス登録や削除、通知の受信を行うサービスクラス
 


フィールドの概要
 
クラス com.google.android.gcm.GCMBaseIntentService から継承されたフィールド
TAG
 
クラス android.app.Service から継承されたフィールド
START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITY
 
クラス android.content.Context から継承されたフィールド
ACCESSIBILITY_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サービスから解除された後、呼び出される。
 
クラス com.google.android.gcm.GCMBaseIntentService から継承されたメソッド
onHandleIntent
 
クラス android.app.IntentService から継承されたメソッド
onBind, onCreate, onDestroy, onStart, onStartCommand, setIntentRedelivery
 
クラス android.app.Service から継承されたメソッド
dump, finalize, getApplication, onConfigurationChanged, onLowMemory, onRebind, onUnbind, setForeground, startForeground, stopForeground, stopSelf, stopSelf, stopSelfResult
 
クラス android.content.ContextWrapper から継承されたメソッド
attachBaseContext, 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, unregisterReceiver
 
クラス android.content.Context から継承されたメソッド
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
 
クラス java.lang.Object から継承されたメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CorePushIntentService

public CorePushIntentService()
メソッドの詳細

onRegistered

protected void onRegistered(android.content.Context context,
                            java.lang.String registrationId)
デバイスがGCMサービスに登録後、呼び出される。

定義:
クラス com.google.android.gcm.GCMBaseIntentService 内の onRegistered

onUnregistered

protected void onUnregistered(android.content.Context context,
                              java.lang.String registrationId)
デバイスがGCMサービスから解除された後、呼び出される。

定義:
クラス com.google.android.gcm.GCMBaseIntentService 内の onUnregistered

onMessage

protected void onMessage(android.content.Context context,
                         android.content.Intent intent)
通知のメッセージを受信した時に呼び出される。

定義:
クラス com.google.android.gcm.GCMBaseIntentService 内の onMessage

onDeletedMessages

protected void onDeletedMessages(android.content.Context context,
                                 int total)
オーバーライド:
クラス com.google.android.gcm.GCMBaseIntentService 内の onDeletedMessages

onError

public void onError(android.content.Context context,
                    java.lang.String errorId)
GCMサービスのデバイスの登録、解除でエラーが発生した時に呼び出される。

定義:
クラス com.google.android.gcm.GCMBaseIntentService 内の onError

onRecoverableError

protected boolean onRecoverableError(android.content.Context context,
                                     java.lang.String errorId)
オーバーライド:
クラス com.google.android.gcm.GCMBaseIntentService 内の onRecoverableError