com.bear.common.sdk / BearCallback / onAssetClicked

onAssetClicked

abstract fun onAssetClicked(assetId: Int): Unit

Called when an asset is clicked by user. Note: callback will not be called when image asset is clicked because it has no click area as it has no content and may be used as overlay on another asset for visual effect. Also if 2 assets overlap and user clicks on it, the callback will be called for the above one (except if it is an image asset).

Parameters

assetId - the id of the asset.