AGConnectCloudDBZoneQueryPolicy enum

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

Constants

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.
const AGConnectCloudDBZoneQueryPolicy(2)
POLICY_QUERY_FROM_CLOUD_ONLY → const AGConnectCloudDBZoneQueryPolicy

Data is queried from Cloud DB zone on the cloud.

const AGConnectCloudDBZoneQueryPolicy(1)
POLICY_QUERY_FROM_LOCAL_ONLY → const AGConnectCloudDBZoneQueryPolicy

Data is queried from local cache.

const AGConnectCloudDBZoneQueryPolicy(0)
values → const List<AGConnectCloudDBZoneQueryPolicy>

A constant List of the values in this enum, in order of their declaration.

const List<AGConnectCloudDBZoneQueryPolicy>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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