Language

FileManager.FetchResult(String) Method

Definition

Retrieves the current result of a file operation.

[Android.Runtime.Register("fetchResult", "(Ljava/lang/String;)Landroid/os/storage/operations/FileOperationResult;", "", ApiSince=37)]
public Android.OS.Storage.Operations.FileOperationResult? FetchResult(string requestId);
[<Android.Runtime.Register("fetchResult", "(Ljava/lang/String;)Landroid/os/storage/operations/FileOperationResult;", "", ApiSince=37)>]
member this.FetchResult : string -> Android.OS.Storage.Operations.FileOperationResult

Parameters

requestId
String

The unique ID of the request to query, as returned by #enqueueOperation.

Returns

A FileOperationResult object containing the current status, or null if the request ID is unknown or has been culled from history.

Attributes

Remarks

Retrieves the current result of a file operation.

The system maintains result information for all active operations and a limited history of recently completed ones.

Android reference for android.os.storage.FileManager.fetchResult.

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