Package com.viam.component.camera.v1
Interface Camera.PropertyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Camera.Property,Camera.Property.Builder
- Enclosing class:
- Camera
public static interface Camera.PropertyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionVideo frame formatcom.google.protobuf.ByteStringVideo frame formatfloatVideo frame rate in fpsintVideo resolution height in pxintVideo resolution width in pxMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getWidthPx
int getWidthPx()Video resolution width in px
int32 width_px = 1 [json_name = "widthPx"];- Returns:
- The widthPx.
-
getHeightPx
int getHeightPx()Video resolution height in px
int32 height_px = 2 [json_name = "heightPx"];- Returns:
- The heightPx.
-
getFrameFormat
String getFrameFormat()Video frame format
string frame_format = 3 [json_name = "frameFormat"];- Returns:
- The frameFormat.
-
getFrameFormatBytes
com.google.protobuf.ByteString getFrameFormatBytes()Video frame format
string frame_format = 3 [json_name = "frameFormat"];- Returns:
- The bytes for frameFormat.
-
getFrameRate
float getFrameRate()Video frame rate in fps
float frame_rate = 4 [json_name = "frameRate"];- Returns:
- The frameRate.
-