BackupTransportMode


class BackupTransportMode


Represents the platform-transport emulation mode utilized during the backup and restore phases.

This class is designed to be non-exhaustive to allow future transport types to be introduced in a binary-compatible manner. Standard pattern-matching when expressions on this type must use an explicit else fallback branch.

Summary

Public companion properties

BackupTransportMode

Simulates a cloud-based backup utilizing secure client-side end-to-end encryption.

BackupTransportMode

Simulates standard cloud-based backup without client-side encryption bounds.

BackupTransportMode

Simulates a physical peer-to-device direct migration (e.g. transfer via USB/Wi-Fi Direct).

BackupTransportMode

Performs a local, low-latency offline filesystem transport backup.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public companion properties

CLOUD_ENCRYPTED

val CLOUD_ENCRYPTEDBackupTransportMode

Simulates a cloud-based backup utilizing secure client-side end-to-end encryption.

CLOUD_UNENCRYPTED

val CLOUD_UNENCRYPTEDBackupTransportMode

Simulates standard cloud-based backup without client-side encryption bounds.

DEVICE_TO_DEVICE

val DEVICE_TO_DEVICEBackupTransportMode

Simulates a physical peer-to-device direct migration (e.g. transfer via USB/Wi-Fi Direct).

LOCAL

val LOCALBackupTransportMode

Performs a local, low-latency offline filesystem transport backup.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String