Language

RegistrationDoneEventArgs.ExpiryTime Property

Definition

Gets the registration expiry value supplied to the constructor.

public long ExpiryTime { get; }
member this.ExpiryTime : int64

Property Value

The supplied expiry value, unchanged.

Remarks

The .NET event data class does not convert this value to a duration or a timestamp. Android's listener documentation describes expiryTime as a duration in seconds. However, the SIP manager's listener relay adds System.currentTimeMillis() to a positive registration duration without converting that duration. Do not assume that values from this relay are a count of seconds or a correctly scaled expiry timestamp.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to