C# Class com.kumakore.sample.NotificationBehav

Inheritance: NotificationReceiveBehav
显示文件 Open project: kumakore/kumakore-sdk

Public Methods

Method Description
getEnabled ( ) : bool
onError ( string msg ) : void
onRegister ( string token ) : void
setEnabled ( bool enabled ) : void

Protected Methods

Method Description
OnGUI ( ) : void
Start ( ) : void
onNotify ( NotificationPackage pack ) : void

Private Methods

Method Description
register ( string senderId ) : void
registerToken ( string token ) : void
unregister ( ) : void

Method Details

OnGUI() protected method

protected OnGUI ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

getEnabled() public method

public getEnabled ( ) : bool
return bool

onError() public method

public onError ( string msg ) : void
msg string
return void

onNotify() protected method

protected onNotify ( NotificationPackage pack ) : void
pack NotificationPackage
return void

onRegister() public method

public onRegister ( string token ) : void
token string
return void

setEnabled() public method

public setEnabled ( bool enabled ) : void
enabled bool
return void