com.coreasp
クラス CorePushIntentService

java.lang.Object
  上位を拡張 GCMBaseIntentService
      上位を拡張 com.coreasp.CorePushIntentService

public class CorePushIntentService
extends GCMBaseIntentService

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


コンストラクタの概要
CorePushIntentService()
           
 
メソッドの概要
protected  void onDeletedMessages(Context context, int total)
           
 void onError(Context context, java.lang.String errorId)
          GCMサービスのデバイスの登録、解除でエラーが発生した時に呼び出される。
protected  void onMessage(Context context, Intent intent)
          通知のメッセージを受信した時に呼び出される。
protected  boolean onRecoverableError(Context context, java.lang.String errorId)
           
protected  void onRegistered(Context context, java.lang.String registrationId)
          デバイスがGCMサービスに登録後、呼び出される。
protected  void onUnregistered(Context context, java.lang.String registrationId)
          デバイスがGCMサービスから解除された後、呼び出される。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CorePushIntentService

public CorePushIntentService()
メソッドの詳細

onRegistered

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


onUnregistered

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


onMessage

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


onDeletedMessages

protected void onDeletedMessages(Context context,
                                 int total)

onError

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


onRecoverableError

protected boolean onRecoverableError(Context context,
                                     java.lang.String errorId)