blob: b77f54cf60b221bb39b94ce3a0af5e15f57c6222 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Connection status check result.
enum ConnectivityResult {
/// WiFi: Device connected via Wi-Fi
wifi,
/// Mobile: Device connected to cellular network
mobile,
/// None: Device not connected to any network
none
}
/// The status of the location service authorization.
enum LocationAuthorizationStatus {
/// The authorization of the location service is not determined.
notDetermined,
/// This app is not authorized to use location.
restricted,
/// User explicitly denied the location service.
denied,
/// User authorized the app to access the location at any time.
authorizedAlways,
/// User authorized the app to access the location when the app is visible to them.
authorizedWhenInUse,
/// Status unknown.
unknown
}