-
- All Implemented Interfaces:
-
io.getstream.chat.android.compose.state.messages.attachments.AttachmentPickerMode
public final class CameraPickerMode implements AttachmentPickerMode
Mode for capturing photos or videos using the device camera.
When selected, launches the camera to capture media. The captured media is automatically added to the message composer as an attachment.
-
-
Field Summary
Fields Modifier and Type Field Description private final CaptureModecaptureMode
-
Constructor Summary
Constructors Constructor Description CameraPickerMode(CaptureMode captureMode)
-
Method Summary
Modifier and Type Method Description final CaptureModegetCaptureMode()-
-
Constructor Detail
-
CameraPickerMode
CameraPickerMode(CaptureMode captureMode)
- Parameters:
captureMode- Determines what type of media can be captured.
-
-
Method Detail
-
getCaptureMode
final CaptureMode getCaptureMode()
-
-
-
-