getAutoFocus method

Future<bool> getAutoFocus()

获取自动聚焦

returns 是否自动聚焦 默认: true

Implementation

Future<bool> getAutoFocus() async {
  String strV = await _livePusherConfigMC.invokeMethod(
    'getAutoFocus',
    wrapArgs(),
  );
  int intV = int.parse(strV);
  return intV == 1 ? true : false;
}