HttpEngine.Builder.SetStoragePath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets directory for HTTP Cache and Cookie Storage.
[Android.Runtime.Register("setStoragePath", "(Ljava/lang/String;)Landroid/net/http/HttpEngine$Builder;", "GetSetStoragePath_Ljava_lang_String_Handler", ApiSince=34)]
public virtual Android.Net.Http.HttpEngine.Builder SetStoragePath(string value);
[<Android.Runtime.Register("setStoragePath", "(Ljava/lang/String;)Landroid/net/http/HttpEngine$Builder;", "GetSetStoragePath_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member SetStoragePath : string -> Android.Net.Http.HttpEngine.Builder
override this.SetStoragePath : string -> Android.Net.Http.HttpEngine.Builder
Parameters
- value
- String
path to existing directory. This value cannot be null.
Returns
the builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Sets directory for HTTP Cache and Cookie Storage. The directory must exist.
NOTE: Do not use the same storage directory with more than one HttpEngine at a time. Access to the storage directory does not support concurrent access by multiple HttpEngine instances.
Android reference for android.net.http.HttpEngine.Builder.setStoragePath.
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.