controls; the camera device will ignore those settings while
USE_<wbr/>SCENE_<wbr/>MODE is active (except for FACE_<wbr/>PRIORITY
scene mode).<wbr/> Other control entries are still active.<wbr/>
-This setting can only be used if availableSceneModes !=
-UNSUPPORTED</p></span>
+This setting can only be used if scene mode is supported
+(i.<wbr/>e.<wbr/> <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a> contain some modes
+other than DISABLED).<wbr/></p></span>
</li>
<li>
<span class="entry_type_enum_name">OFF_KEEP_STATE</span>
controls; the camera device will ignore those settings while
USE_<wbr/>SCENE_<wbr/>MODE is active (except for FACE_<wbr/>PRIORITY
scene mode).<wbr/> Other control entries are still active.<wbr/>
-This setting can only be used if availableSceneModes !=
-UNSUPPORTED</p></span>
+This setting can only be used if scene mode is supported
+(i.<wbr/>e.<wbr/> <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a> contain some modes
+other than DISABLED).<wbr/></p></span>
</li>
<li>
<span class="entry_type_enum_name">OFF_KEEP_STATE</span>
android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes
</td>
<td class="entry_type">
- <span class="entry_type_name">byte</span>
+ <span class="entry_type_name">int32</span>
+ <span class="entry_type_container">x</span>
+ <span class="entry_type_array">
+ n
+ </span>
<span class="entry_type_visibility"> [public]</span>
+ <div class="entry_type_notes">list of enums</div>
</td> <!-- entry_type -->
controls; the camera device will ignore those settings while
USE_SCENE_MODE is active (except for FACE_PRIORITY
scene mode). Other control entries are still active.
- This setting can only be used if availableSceneModes !=
- UNSUPPORTED</notes></value>
+ This setting can only be used if scene mode is supported
+ (i.e. android.control.availableSceneModes contain some modes
+ other than DISABLED).
+ </notes></value>
<value>OFF_KEEP_STATE
<notes>Same as OFF mode, except that this capture will not be
used by camera device background auto-exposure, auto-white balance and
</clone>
</dynamic>
<static>
- <entry name="availableTestPatternModes" type="byte" visibility="public"
- optional="true">
+ <entry name="availableTestPatternModes" type="int32" visibility="public" optional="true"
+ type_notes="list of enums" container="array">
+ <array>
+ <size>n</size>
+ </array>
<description>Optional. Defaults to [OFF]. Lists the supported test
pattern modes for android.sensor.testPatternMode.
</description>
ANDROID_SENSOR_GREEN_SPLIT, // float | public
ANDROID_SENSOR_TEST_PATTERN_DATA, // int32[] | public
ANDROID_SENSOR_TEST_PATTERN_MODE, // enum | public
- ANDROID_SENSOR_AVAILABLE_TEST_PATTERN_MODES, // byte | public
+ ANDROID_SENSOR_AVAILABLE_TEST_PATTERN_MODES, // int32[] | public
ANDROID_SENSOR_END,
ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE = // int32[] | public
[ ANDROID_SENSOR_TEST_PATTERN_MODE - ANDROID_SENSOR_START ] =
{ "testPatternMode", TYPE_INT32 },
[ ANDROID_SENSOR_AVAILABLE_TEST_PATTERN_MODES - ANDROID_SENSOR_START ] =
- { "availableTestPatternModes", TYPE_BYTE },
+ { "availableTestPatternModes", TYPE_INT32 },
};
static tag_info_t android_sensor_info[ANDROID_SENSOR_INFO_END -