SettingController class

Provides the setting-related functions.

Constructors

SettingController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

addDataType(DataTypeAddOptions options) Future<DataType>
Creates and adds a customized data type.
checkHealthAppAuthorization() Future<void>
Checks the user privacy authorization to Health Kit.
disableHiHealth() Future<void>
Disables the Health Kit function, cancels user authorization, and cancels all data records. (The task takes effect in 24 hours.)
getHealthAppAuthorization() Future<bool>
Checks the user privacy authorization to Health Kit.
readDataType(String dataTypeName) Future<DataType>
Reads the data type based on the data type name.
requestAuthorizationIntent(List<Scope> scopes, bool enableHealthAuth) Future<HealthKitAuthResult>