AGConnectCloudDBZoneQueryPolicy enum

Query policy, which specifies the data source to be queried.

Inheritance

Constructors

AGConnectCloudDBZoneQueryPolicy()
const

Values

POLICY_QUERY_FROM_LOCAL_ONLY → const AGConnectCloudDBZoneQueryPolicy

Data is queried from local cache.

POLICY_QUERY_FROM_CLOUD_ONLY → const AGConnectCloudDBZoneQueryPolicy

Data is queried from Cloud DB zone on the cloud.

POLICY_QUERY_DEFAULT → const AGConnectCloudDBZoneQueryPolicy

Data is queried from both Cloud DB zone on the cloud and local cache.

  • When a device is offline, data is queried from local cache.
  • When a device is online, data is queried from both Cloud DB zone on the cloud and local cache.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<AGConnectCloudDBZoneQueryPolicy>
A constant List of the values in this enum, in order of their declaration.