ConnectivityLinux class

The Linux implementation of the ConnectivityPlatform of the Connectivity plugin.

Inheritance

Constructors

ConnectivityLinux()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
onConnectivityChanged Stream<ConnectivityResult>
Returns a Stream of ConnectivityResults changes.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

checkConnectivity() Future<ConnectivityResult>
Checks the connection status of the device.
override
getLocationServiceAuthorization() Future<LocationAuthorizationStatus>
Get the current location service authorization (Only on iOS).
override
getWifiBSSID() Future<String>
Obtains the wifi BSSID of the connected network.
override
getWifiIP() Future<String>
Obtains the IP address of the connected wifi network
override
getWifiName() Future<String>
Obtains the wifi name (SSID) of the connected network
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
requestLocationServiceAuthorization({bool requestAlwaysLocationUsage = false}) Future<LocationAuthorizationStatus>
Request to authorize the location service (Only on iOS).
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

register() → void
Factory method that initializes the connectivity plugin platform with an instance of the plugin for Linux.