共用方式為


MockContext.GetExternalCacheDirs Method

Definition

Returns absolute paths to application-specific directories on all external storage devices where the application can place cache files it owns.

[Android.Runtime.Register("getExternalCacheDirs", "()[Ljava/io/File;", "GetGetExternalCacheDirsHandler")]
public override Java.IO.File[]? GetExternalCacheDirs ();
[<Android.Runtime.Register("getExternalCacheDirs", "()[Ljava/io/File;", "GetGetExternalCacheDirsHandler")>]
override this.GetExternalCacheDirs : unit -> Java.IO.File[]

Returns

File[]
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