Language

ICookieStore.ClearExpired(Date) Method

Definition

Removes all of ICookie in this store that have expired by the specified Date.

[Android.Runtime.Register("clearExpired", "(Ljava/util/Date;)Z", "GetClearExpired_Ljava_util_Date_Handler:Org.Apache.Http.Client.ICookieStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool ClearExpired(Java.Util.Date? date);
[<Android.Runtime.Register("clearExpired", "(Ljava/util/Date;)Z", "GetClearExpired_Ljava_util_Date_Handler:Org.Apache.Http.Client.ICookieStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ClearExpired : Java.Util.Date -> bool

Parameters

date
Date

The date by which cookies must have expired to be removed.

Returns

true if any cookies were purged; otherwise, false.

Attributes

Remarks

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