C# Class KidoZen.Notification

ファイルを表示 Open project: kidozen/kido-xamarin Class Usage Examples

Public Methods

Method Description
GetSubscriptions ( ) : Task>
GetSubscriptionsCount ( ) : Task>
Push ( string channelName, NotificationData data ) : Task>
Subscribe ( string channelName, string deviceToken ) : Task>
Subscribe ( string channelName, string deviceId, string registrationId ) : Task>
Unsubscribe ( string channelName ) : Task>

Private Methods

Method Description
GetDeviceMacAddress ( ) : string
Notification ( KZApplication app, Uri endpoint ) : System
doSubscribe ( string channelName, string deviceId ) : Task>
doSubscribe ( string channelName, string deviceId, string registrationId ) : Task>
doUnsubscribe ( string channelName ) : Task>

Method Details

GetSubscriptions() public method

public GetSubscriptions ( ) : Task>
return Task>

GetSubscriptionsCount() public method

public GetSubscriptionsCount ( ) : Task>
return Task>

Push() public method

public Push ( string channelName, NotificationData data ) : Task>
channelName string
data NotificationData
return Task>

Subscribe() public method

public Subscribe ( string channelName, string deviceToken ) : Task>
channelName string
deviceToken string
return Task>

Subscribe() public method

public Subscribe ( string channelName, string deviceId, string registrationId ) : Task>
channelName string
deviceId string
registrationId string
return Task>

Unsubscribe() public method

public Unsubscribe ( string channelName ) : Task>
channelName string
return Task>