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

Afficher le fichier Open project: jpush/jpush-api-csharp-client Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public static AlertAll ( String alert ) : PushPayload
alert String
Résultat PushPayload

Check() public méthode

public Check ( ) : PushPayload
Résultat PushPayload

FromJSON() public static méthode

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

GetSendno() public méthode

public GetSendno ( ) : int
Résultat int

IsAndroidExceedLength() public méthode

public IsAndroidExceedLength ( ) : bool
Résultat bool

IsGlobalExceedLength() public méthode

public IsGlobalExceedLength ( ) : bool
Résultat bool

IsIosExceedLength() public méthode

public IsIosExceedLength ( ) : bool
Résultat bool

IsiOSExceedLength() public méthode

public IsiOSExceedLength ( ) : bool
Résultat bool

MessageAll() public static méthode

public static MessageAll ( String msgContent ) : PushPayload
msgContent String
Résultat PushPayload

PushPayload() public méthode

public PushPayload ( ) : System
Résultat System

PushPayload() public méthode

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
Résultat System

ResetOptionsApnsProduction() public méthode

public ResetOptionsApnsProduction ( bool apnsProduction ) : void
apnsProduction bool
Résultat void

ResetOptionsTimeToLive() public méthode

public ResetOptionsTimeToLive ( long timeToLive ) : void
timeToLive long
Résultat void

ToJson() public méthode

public ToJson ( ) : string
Résultat string