C# Class cn.jpush.api.push.mode.PushPayload

Mostrar archivo Open project: jpush/jpush-api-csharp-client Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AlertAll ( String alert ) : PushPayload
Check ( ) : PushPayload
FromJSON ( String payloadString ) : PushPayload

It need to have a notification or message.

GetSendno ( ) : int
IsAndroidExceedLength ( ) : bool
IsGlobalExceedLength ( ) : bool
IsIosExceedLength ( ) : bool
IsiOSExceedLength ( ) : bool
MessageAll ( String msgContent ) : PushPayload
PushPayload ( ) : System
PushPayload ( Platform platform, cn.jpush.api.push.mode.Audience audience, Notification notification, cn.jpush.api.push.mode.Message message = null, SmsMessage sms_message = null, cn.jpush.api.push.mode.Options options = null ) : System
ResetOptionsApnsProduction ( bool apnsProduction ) : void
ResetOptionsTimeToLive ( long timeToLive ) : void
ToJson ( ) : string

Method Details

AlertAll() public static method

public static AlertAll ( String alert ) : PushPayload
alert String
return PushPayload

Check() public method

public Check ( ) : PushPayload
return PushPayload

FromJSON() public static method

It need to have a notification or message.
public static FromJSON ( String payloadString ) : PushPayload
payloadString String
return PushPayload

GetSendno() public method

public GetSendno ( ) : int
return int

IsAndroidExceedLength() public method

public IsAndroidExceedLength ( ) : bool
return bool

IsGlobalExceedLength() public method

public IsGlobalExceedLength ( ) : bool
return bool

IsIosExceedLength() public method

public IsIosExceedLength ( ) : bool
return bool

IsiOSExceedLength() public method

public IsiOSExceedLength ( ) : bool
return bool

MessageAll() public static method

public static MessageAll ( String msgContent ) : PushPayload
msgContent String
return PushPayload

PushPayload() public method

public PushPayload ( ) : System
return System

PushPayload() public method

public PushPayload ( Platform platform, cn.jpush.api.push.mode.Audience audience, Notification notification, cn.jpush.api.push.mode.Message message = null, SmsMessage sms_message = null, cn.jpush.api.push.mode.Options options = null ) : System
platform Platform
audience cn.jpush.api.push.mode.Audience
notification Notification
message cn.jpush.api.push.mode.Message
sms_message SmsMessage
options cn.jpush.api.push.mode.Options
return System

ResetOptionsApnsProduction() public method

public ResetOptionsApnsProduction ( bool apnsProduction ) : void
apnsProduction bool
return void

ResetOptionsTimeToLive() public method

public ResetOptionsTimeToLive ( long timeToLive ) : void
timeToLive long
return void

ToJson() public method

public ToJson ( ) : string
return string