Exemplo n.º 1
0
 /** The shortcut of building a simple message object to all platforms and all audiences
  *建立一个简单的消息对象的所有平台和所有观众的捷径
  */
 public static PushPayload MessageAll(String msgContent)
 {
     return(new PushPayload(Platform.all(),
                            Audience.all(),
                            null,
                            Message.content(msgContent),
                            new Options()));
 }
Exemplo n.º 2
0
 public static PushPayload MessageAll(string msgContent)
 {
     return(new PushPayload(Platform.all(), Audience.all(), (Notification)null, Message.content(msgContent), (SmsMessage)null, new Options()));
 }