Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MDK 3.7.3

Defines the strategy for transmitting data packets based on the device's state and network connectivity. Use this enum to configure when the system should attempt to send packets.

Entries

Always transmit packets immediately, regardless of the device's current state or connectivity. Use this option for critical data that must be sent without delay.

Transmit packets only when the device is connected to a WiFi network. This option helps to conserve mobile data usage.

Transmit packets only when the device is charging. This ensures that data transmission does not significantly drain the battery.

Transmit packets only when the device is both charging and connected to a WiFi network. This minimizes battery drain and avoids using mobile data.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Inherited properties

expect val name: String
expect val ordinal: Int

Functions

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.