Język

FileOperationRequest.Builder.SetTarget(OperationTarget) Method

Definition

Sets the target of the file operation.

[Android.Runtime.Register("setTarget", "(Landroid/os/storage/operations/targets/OperationTarget;)Landroid/os/storage/operations/FileOperationRequest$Builder;", "", ApiSince=37)]
public Android.OS.Storage.Operations.FileOperationRequest.Builder SetTarget(Android.OS.Storage.Operations.Targets.OperationTarget target);
[<Android.Runtime.Register("setTarget", "(Landroid/os/storage/operations/targets/OperationTarget;)Landroid/os/storage/operations/FileOperationRequest$Builder;", "", ApiSince=37)>]
member this.SetTarget : Android.OS.Storage.Operations.Targets.OperationTarget -> Android.OS.Storage.Operations.FileOperationRequest.Builder

Parameters

target
OperationTarget

The OperationTarget representing the destination of the operation. This value cannot be null.

Returns

This builder instance. This value cannot be null.

Attributes

Remarks

Sets the target of the file operation.

Android reference for android.os.storage.operations.FileOperationRequest.Builder.setTarget.

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