com.bear.common.sdk.listeners.flash / IFlashStatusHandler / addFlashListener

addFlashListener

abstract fun addFlashListener(listener: FlashStatusListener): Boolean

Add listener for FlashStatus. removeFlashListener should be called when activity/fragment is destroyed.

Parameters

listener - the FlashStatusListener.