C# Class cn.jpush.api.push.PushClient

Inheritance: cn.jpush.api.common.BaseHttpClient
Mostra file Open project: jpush/jpush-api-csharp-client Class Usage Examples

Public Methods

Method Description
PushClient ( String appKey, String masterSecret ) : System
sendPush ( PushPayload payload ) : MessageResult
sendPush ( string payloadString ) : MessageResult

Private Methods

Method Description
Authorization ( ) : String

Method Details

PushClient() public method

public PushClient ( String appKey, String masterSecret ) : System
appKey String
masterSecret String
return System

sendPush() public method

public sendPush ( PushPayload payload ) : MessageResult
payload cn.jpush.api.push.mode.PushPayload
return MessageResult

sendPush() public method

public sendPush ( string payloadString ) : MessageResult
payloadString string
return MessageResult