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 SummaryModifier and TypeMethodDescription- void- onFlashlight- (IFlashlight flashlight, boolean isAvailable, boolean success) Notification of the flashback state and possible return code from the previous operation.
- Method Details- onFlashlightNotification 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 the- IFlashlight.getAsyncState()operation.