Package com.iizix.device.flash
Interface IFlashlightListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface used for notifications of flashlight/torch states and return code.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
onFlashlight
(IFlashlight flashlight, boolean isAvailable, boolean success) Notification of the flashback state and possible return code from the previous operation.
Method Details
onFlashlight
Notification of the flashback state and possible return code from the previous operation.- Parameters:
flashlight
- The flashlight interface of the client session.isAvailable
- Flag for flashlight availability.success
- Success flag of theIFlashlight.getAsyncState()
operation.