Język

MockContext.FileList Method

Definition

Returns an array of strings naming the private files associated with this Context's application package.

[Android.Runtime.Register("fileList", "()[Ljava/lang/String;", "GetFileListHandler")]
public override string[]? FileList();
[<Android.Runtime.Register("fileList", "()[Ljava/lang/String;", "GetFileListHandler")>]
override this.FileList : unit -> string[]

Returns

String[]

No value is returned. The default mock implementation throws UnsupportedOperationException; override this method to supply a test result.

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