Package-level declarations
Types
Link copied to clipboard
Mirrors io.github.aryapreetam.cmpimgcompress.CompressionConfig (not @Serializable in the library) so it can be used as an dev.catbit.mosaic.core.data.schemas.event.EventSchema field.
Link copied to clipboard
data class GetImageFromGalleryEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val compression: CompressionScheme?, val resize: ImageResizeOptions?, val outputType: GetImageFromGalleryEventSchema.OutputType) : EventSchema
Opens the platform picker restricted to images and emits the chosen image downstream. Runs on the IO dispatcher.
Link copied to clipboard
@Serializable
Mirrors io.github.aryapreetam.cmpimgcompress.ResizeOptions 1:1 so it can be used as an dev.catbit.mosaic.core.data.schemas.event.EventSchema field. Only takes effect alongside a non-null CompressionScheme.
Link copied to clipboard
data class TakePictureEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val compression: CompressionScheme?, val resize: ImageResizeOptions?, val outputType: TakePictureEventSchema.OutputType) : EventSchema
Opens the camera through the client's CameraManager and emits the captured photo downstream. Runs on the IO dispatcher.