timeToLive property

int? timeToLive
final

The amount of time, in seconds, that the Baidu Cloud Push service should store the message if the recipient's device is offline. The default value and maximum supported time is 604,800 seconds (7 days).

Implementation

final int? timeToLive;