Package cn.jpush.api.push.model
Class SMS
- java.lang.Object
-
- cn.jpush.api.push.model.SMS
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSMS.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SMScontent(long tempId, int delayTime)static SMScontent(java.lang.String content, int delayTime)Deprecated.static SMS.BuildernewBuilder()com.google.gson.JsonElementtoJSON()
-
-
-
Method Detail
-
newBuilder
public static SMS.Builder newBuilder()
-
content
@Deprecated public static SMS content(java.lang.String content, int delayTime)
Deprecated.This will be removed in the future. Please use content(long tempId, int delayTime) this constructor. Create a SMS content with a delay time. JPush will send a SMS if the message doesn't received within the delay time. If the delay time is 0, the SMS will be sent immediately. Please note the delay time only works on Android. If you are pushing to iOS, the SMS will be sent immediately, whether or not the delay time is 0.- Parameters:
content- The SMS content.delayTime- The seconds you want to delay, should be greater than or equal to 0.- Returns:
- SMS payload.
-
content
public static SMS content(long tempId, int delayTime)
-
-