Skip to content
com.iristick.smartglass.support.camera2

Class CaptureRequest.Key<TE,TIA,TII>

  • java.lang.Object
    • com.iristick.smartglass.support.camera2.CaptureRequest.Key<TE,TIA,TII>

Method Summary

Modifier and Type Method and Description
boolean equals(Object o)
com.iristick.smartglass.support.camera2.internal.KeyConverter<TE,TIA,TII> getConverter() 
String getName()
Returns a camelCase, period separated name formatted like: "root.section[.subsections].name".
Class<TE> getType()
Returns the data type associated with this CaptureRequest.Key
int hashCode()
boolean isUnlisted() 
CaptureRequest.Key<TIA> toAndroidKey() 
CaptureRequest.Key<TII> toIristickKey() 
String toString()
Returns this CaptureRequest.Key as a string representation.

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Method Detail

isUnlisted

public boolean isUnlisted()

toIristickKey

public CaptureRequest.Key<TII> toIristickKey()

toAndroidKey

public CaptureRequest.Key<TIA> toAndroidKey()

getConverter

public com.iristick.smartglass.support.camera2.internal.KeyConverter<TE,TIA,TII> getConverter()

getName

public String getName()

Returns a camelCase, period separated name formatted like: "root.section[.subsections].name".

Built-in keys exposed by the Android SDK are always prefixed with "android."; keys that are device/platform-specific are prefixed with "com".

For example, CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP would have a name of "android.scaler.streamConfigurationMap"; whereas a device specific key might look like "com.iristick.smartglass.laser.mode".

Returns:
String representation of the key name. This value will never be null.

getType

public Class<TE> getType()

Returns the data type associated with this CaptureRequest.Key

Returns:
Data type associated with this CaptureRequest.Key. This value will never be null.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()

Returns this CaptureRequest.Key as a string representation.

"CaptureRequest.Key(%s)", where "%s represents the name of this key as returned by getName().

Overrides:
toString in class Object
Returns:
String representation of CaptureRequest.Key. This value will never be null