Condividi tramite


BackupAgent.FlagDeviceToDeviceTransfer Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Backup.BackupTransportFlags enum directly instead of this field.

Flag for BackupDataOutput#getTransportFlags() and FullBackupDataOutput#getTransportFlags() only.

[Android.Runtime.Register("FLAG_DEVICE_TO_DEVICE_TRANSFER", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Backup.BackupTransportFlags enum directly instead of this field.", true)]
public const Android.App.Backup.BackupTransportFlags FlagDeviceToDeviceTransfer = 2;
[<Android.Runtime.Register("FLAG_DEVICE_TO_DEVICE_TRANSFER", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Backup.BackupTransportFlags enum directly instead of this field.", true)>]
val mutable FlagDeviceToDeviceTransfer : Android.App.Backup.BackupTransportFlags

Field Value

Value = 2
Attributes

Remarks

Flag for BackupDataOutput#getTransportFlags() and FullBackupDataOutput#getTransportFlags() only.

The transport is for a device-to-device transfer. There is no third party or intermediate storage. The user's backup data is sent directly to another device over e.g., USB or WiFi.

Java documentation for android.app.backup.BackupAgent.FLAG_DEVICE_TO_DEVICE_TRANSFER.

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