πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement

Summary ​

Functions ​

getConnectionType ​

getConnectionType(): number
Gets the type of connection. Returns a value from the connectivity.connectionType enumeration. To use this method on Android you need to have the android.permission.ACCESS_NETWORK_STATE permission added to the AndroidManifest.xml file.
Returns number

startMonitoring ​

startMonitoring(
 connectionTypeChangedCallback: (newConnectionType:number) =>void
): void
Starts monitoring the connection type.
Parameter Default Description
connectionTypeChangedCallback
(newConnectionType: number) => void

A function that will be called when the connection type changes.

Returns void

stopMonitoring ​

stopMonitoring(): void
Stops monitoring the connection type.
Returns void
Previous
CSSUtils

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /