目录

OnLightVisibleCallBack

Interface Info

public interface OnLightVisibleCallBack

Callback API for scanning results in dim light conditions in Customized View mode.

Public Method Summary

Qualifier and Type

Method Name and Description

void

onVisibleChanged(boolean visible)

Called upon light condition changes.

Public Methods

[h2]onVisibleChanged

Method

void onVisibleChanged(boolean visible)

Called upon light condition changes. You can use it to implement the function of turning on the flashlight in dim light conditions.

Parameters

Name

Description

visible

  • true: in dim light conditions
  • false: in bright light conditions