共用方式為


GooglePushMessage.TimeToLiveInSeconds Property

Definition

The Time to Live (TTL) property lets the sender specify the maximum lifespan of a message. The value of this parameter must be a duration from 0 to 2,419,200 seconds, and it corresponds to the maximum period of time for which GCM will store and try to deliver the message. Requests that don't contain this field default to the maximum period of 4 weeks.

public int? TimeToLiveInSeconds { get; set; }
member this.TimeToLiveInSeconds : Nullable<int> with get, set
Public Property TimeToLiveInSeconds As Nullable(Of Integer)

Property Value

Applies to