Język

FileOperationMode Enum

Definition

public enum FileOperationMode
type FileOperationMode = 
Inheritance
FileOperationMode

Fields

Name Value Description
Move 1

Operation mode indicating that files should be moved from the source to the target.

A move operation results in the files being transferred to the destination specified by the OperationTarget and subsequently removed from the OperationSource.

Note: While a move will be attempted, it is possible that this still results in standard Copy + Delete behavior, as the Source/Target may not be on the same underlying storage volume.

Android reference for android.os.storage.operations.FileOperationRequest.OPERATION_MOVE.

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.

Copy 2

Operation mode indicating that files should be copied from the source to the target.

A copy operation creates duplicates of the files from the OperationSource at the destination specified by the OperationTarget, while the original files remain unchanged at the source.

Android reference for android.os.storage.operations.FileOperationRequest.OPERATION_COPY.

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