Share via


URLConnection.Expiration Property

Definition

Returns the value of the expires header field.

public virtual long Expiration { [Android.Runtime.Register("getExpiration", "()J", "GetGetExpirationHandler")] get; }
[<get: Android.Runtime.Register("getExpiration", "()J", "GetGetExpirationHandler")>]
member this.Expiration : int64

Property Value

the expiration date of the resource that this URL references, or 0 if not known. The value is the number of milliseconds since January 1, 1970 GMT.

Attributes

Remarks

Returns the value of the expires header field.

Java documentation for java.net.URLConnection.getExpiration().

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