isDeviceSupportPip static method

Future<int?> isDeviceSupportPip()

Whether the current device supports picture-in-picture mode. @return TXVodPlayEvent 0 Picture-in-picture mode can be enabled. -101 The Android version is too low. -102 Picture-in-picture permission is disabled or the device does not support picture-in-picture mode. -103 The current interface has been destroyed.

当前设备是否支持画中画模式 @return TXVodPlayEvent 0 可开启画中画模式 -101 android版本过低 -102 画中画权限关闭/设备不支持画中画 -103 当前界面已销毁

Implementation

static Future<int?> isDeviceSupportPip() async {
  IntMsg intMsg = await _nativeAPI.isDeviceSupportPip();
  return intMsg.value;
}