Skip to main content

KeyTools

class KeyTools

Description: Key tool class, which encapsulates a series of more concise and easy-to-use methods to create AutelKey instances.

method createKey

public static <T> AutelKey<T> createKey(AutelKeyInfo<T> mKeyInfo)

Description: Create a Key instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: the incoming AutelKeyInfo

Output parameters: AutelKey<T> returns the AutelKey instance

Related parameters: None.

method createKey

public static <T> AutelKey<T> createKey(AutelKeyInfo<T> mKeyInfo, int componentIndex, int subComponentIndex)

Description: Create a Key instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: the incoming AutelKeyInfo componentIndex: module Index subComponentIndex: Submodule Index

Output parameters: AutelKey<T> returns the AutelKey instance

Related parameters: None.

method createKey

public static <T> AutelKey<T> createKey(AutelKeyInfo<T> mKeyInfo, int subComponentIndex)

Description: Create a Key instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: the incoming AutelKeyInfo subComponentIndex: Submodule Index

Output parameters: AutelKey<T> returns the AutelKey instance

Related parameters: None.

method createLensKey

public static <T> AutelKey<T> createLensKey(AutelKeyInfo<T> mKeyInfo, int componentIndex, int lensIndex)

Description: Create a Key instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: the incoming AutelKeyInfo componentIndex: module Index lensIndex: lens ID

Output parameters: AutelKey<T> returns the AutelKey instance

Related parameters: None.

method createLensKey

public static <T> AutelKey<T> createLensKey(AutelKeyInfo<T> mKeyInfo, LensTypeEnum lensType)

Description: Create a Key instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: the incoming AutelKeyInfo lensType: camera lens type

Output parameters: AutelKey<T> returns the AutelKey instance

Related parameters: LensTypeEnum.

method createKey

public static <T, R> AutelKey.ActionKey<T, R> createKey(AutelActionKeyInfo<T, R> mKeyInfo)

Description: Create an ActionKey instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: A Key interface in AutelKey. For example, CameraKey.KeyCameraType indicates the key of the camera type.

Output parameters: AutelKey.ActionKey<T, R> returns an instance of AutelKey

Related parameters: None.

method createKey

public static <T, R> AutelKey.ActionKey<T, R> createKey(AutelActionKeyInfo<T, R> mKeyInfo, int componentIndex, int subComponentIndex)

Description: Create an ActionKey instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: A Key interface in AutelKey. For example, CameraKey.KeyCameraType indicates the key of the camera type. componentIndex: module Index subComponentIndex: Submodule Index

Output parameters: AutelKey.ActionKey<T, R> returns an instance of AutelKey

Related parameters: None.

method createKey

public static <T, R> AutelKey.ActionKey<T, R> createKey(AutelActionKeyInfo<T, R> mKeyInfo, int subComponentIndex)

Description: Create an ActionKey instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: A Key interface in AutelKey. For example, CameraKey.KeyCameraType indicates the key of the camera type. subComponentIndex: Submodule Index

Output parameters: AutelKey.ActionKey<T, R> returns an instance of AutelKey

Related parameters: None.

method createKey

public static <T, R> AutelKey.ActionKey<T, R> createKey(AutelActionKeyInfo<T, R> mKeyInfo, LensTypeEnum lensType)

Description: Create an ActionKey instance by passing in an AutelKeyInfo instance of a Key interface.

Input parameters: mKeyInfo: A Key interface in AutelKey. For example, CameraKey.KeyCameraType indicates the key of the camera type. lensType: camera lens type

Output parameters: AutelKey.ActionKey<T, R> returns an instance of AutelKey

Related parameters: None.