ValidationPolicy
What counts as "connected" on platforms with native signals (Android, iOS).
Entries
Link copied to clipboard
Default. Offline only when there is no network at all; online once a network is validated. Losing validation alone never reports offline, so there are no false alerts. The first reading only needs a connected network.
Link copied to clipboard
Offline while the default network is not validated, is a captive portal, or is blocked.
Link copied to clipboard
Any network with internet capability is online; validation is ignored.
Properties
Functions
Link copied to clipboard
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.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.