C# Class BuildIt.Bot.Client.Impl.Droid.Utilities.GcmService

Inheritance: Gcm.Client.GcmServiceBase
Datei anzeigen Open project: builttoroam/BuildIt

Public Methods

Method Description
GcmService ( ) : System

Protected Methods

Method Description
OnError ( Android.Content.Context context, string errorId ) : void

OnMessage ( Android.Content.Context context, Android.Content.Intent intent ) : void

OnRecoverableError ( Android.Content.Context context, string errorId ) : bool

OnRegistered ( Android.Content.Context context, string deviceToken ) : void

OnUnRegistered ( Android.Content.Context context, string registrationId ) : void

Private Methods

Method Description
DisplayPushNotification ( string title, string body ) : void
ProcessPushNotification ( Android.Content.Intent intent ) : void
RegisterPushNotifications ( string deviceToken ) : System.Threading.Tasks.Task

Method Details

GcmService() public method

public GcmService ( ) : System
return System

OnError() protected method

protected OnError ( Android.Content.Context context, string errorId ) : void
context Android.Content.Context
errorId string
return void

OnMessage() protected method

protected OnMessage ( Android.Content.Context context, Android.Content.Intent intent ) : void
context Android.Content.Context
intent Android.Content.Intent
return void

OnRecoverableError() protected method

protected OnRecoverableError ( Android.Content.Context context, string errorId ) : bool
context Android.Content.Context
errorId string
return bool

OnRegistered() protected method

protected OnRegistered ( Android.Content.Context context, string deviceToken ) : void
context Android.Content.Context
deviceToken string
return void

OnUnRegistered() protected method

protected OnUnRegistered ( Android.Content.Context context, string registrationId ) : void
context Android.Content.Context
registrationId string
return void