Enum SORIRecognitionMode

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ON_DEVICE

      On-device recognition only; no server traffic. The default, and the behaviour of 5.1.2.

      SERVER

      Server recognition: no local material matcher. Every query is a Console v1 joint recognition and recording request; Console records the activity. Continuous by default, or on the period and burst of SORIConfig.serverRecognition.

      ON_DEVICE_WITH_PERIODIC_SERVER

      On-device recognition on every capture window at its normal cadence, plus server queries on the period (and burst) of SORIConfig.serverRecognition. A window sent to the server is also matched on the device; when Console recorded an activity from it, the local match of the same run is not posted a second time.

    • Method Summary

      Modifier and Type Method Description
      final SORIRecognitionMode valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<SORIRecognitionMode> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final EnumEntries<SORIRecognitionMode> getEntries() Recognition mode, selected with SORIConfig.recognitionMode.
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final SORIRecognitionMode valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<SORIRecognitionMode> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.