Class CDDCParams

java.lang.Object
com.vasco.orchestration.client.cddc.CDDCParams

public class CDDCParams extends Object
An CDDCParams object provides parameters for CDDC process.
  • Constructor Details

    • CDDCParams

      public CDDCParams()
  • Method Details

    • getRefreshDurationSeconds

      public long getRefreshDurationSeconds()
      Gets the current CDDC refresh delay in seconds.
      Returns:
      current refresh delay (in seconds), default value is 60
    • setRefreshDurationSeconds

      public void setRefreshDurationSeconds(long refreshDurationSeconds)
      Sets the refresh delay for the automatic CDDC data collection. If the delay was not set manually, default value is 60 seconds.
      Parameters:
      refreshDurationSeconds - new refresh delay (in seconds)
    • getOptionalRetrievableFields

      public Set<CDDCParams.OptionalRetrievableFields> getOptionalRetrievableFields()
      Gets the current list of optional fields for automatic retrieval that require permissions.

      Note: if CDDCParams.OptionalRetrievableFields.WiFi is included in the list, following permissions are required:

      • ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION
      • ACCESS_WIFI_STATE
      • ACCESS_NETWORK_STATE
      • CHANGE_WIFI_STATE

      Note: if CDDCParams.OptionalRetrievableFields.Bluetooth is included in the list, following permissions are required:

      • ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION
      • BLUETOOTH
      • BLUETOOTH_ADMIN

      Note: if CDDCParams.OptionalRetrievableFields.Geolocation is included in the list, following permissions are required:

      • ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION
      Returns:
      list of configured fields
    • setOptionalRetrievableFields

      public void setOptionalRetrievableFields(Set<CDDCParams.OptionalRetrievableFields> optionalRetrievableFields)
      Sets the list of fields to be automatically retrieved.

      Note: if CDDCParams.OptionalRetrievableFields.WiFi is included in the list, following permissions are required:

      • ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION
      • ACCESS_WIFI_STATE
      • ACCESS_NETWORK_STATE
      • CHANGE_WIFI_STATE

      Note: if CDDCParams.OptionalRetrievableFields.Bluetooth is included in the list, following permissions are required:

      • ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION
      • BLUETOOTH
      • BLUETOOTH_ADMIN

      Note: if CDDCParams.OptionalRetrievableFields.Geolocation is included in the list, following permissions are required:

      • ACCESS_COARSE_LOCATION
      • ACCESS_FINE_LOCATION
      Parameters:
      optionalRetrievableFields - new field list