API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeNetworkMode

@codexo/exojs / core / stable

What the application allows. `'auto'` follows Connectivity.state. `'online'` and `'offline'` are the application's own decision and override it - `'offline'` in particular is a hard rule rather than a hint, and is what a "play offline" setting sets.

0
props
0
methods
0
events
Import
import { NetworkMode } from '@codexo/exojs'

What the application allows.

`'auto'` follows Connectivity.state. `'online'` and `'offline'` are the application's own decision and override it - `'offline'` in particular is a hard rule rather than a hint, and is what a "play offline" setting sets.

Definition1
"auto" | "offline" | "online"
Source