export type int = number; export type Context = unknown; export type JSONObject = any; export type id = T; export type BOOL = boolean; export type bool = boolean; export type long = number; export type float = number; export type int64_t = number; export type double = number; export type dispatch_queue_t = any; export type NSString = string; export type NSMutableString = string; export type NSInteger = number; export type NSUInteger = number; export type NSNumber = number; export type NSValue = number; export type NSNull = null; export type NSArray = Array; export type NSMutableArray = Array; export type NSObject = T; export type NSDictionary = { [P in K]: V; }; export type NSMutableDictionary = Object; export type NSDate = Date; export type NSData = ArrayBuffer; export type NSURL = string; export type NSError = { code: number; domain: string; }; export type NSTimeInterval = number; export type UIImage = unknown; export type CVPixelBufferRef = any; export type CMSampleBufferRef = any; export type CMTime = number; export type GLuint = number; export type CGFloat = number; export type SInt64 = number; export type intptr_t = any; export type uint32_t = number; export type uint8_t = number; export type longlong = number; export type String = string; export type Boolean = boolean; export type Void = void; export type Integer = number; export type Double = number; export type List = Array; export type list = Array; export type ArrayList = Array; export type Map = Record; export type HashMap = Record; export type Pair = Record; export type set = Set; export type map = Object; export type struct = Object; export type Bitmap = unknown; export type EGLContext = unknown; export type ByteArray = number; export type ByteBuffer = ArrayBuffer; export type Matrix = unknown; export type SurfaceHolder = unknown; export type Surface = unknown; export type Runnable = unknown; export type View = unknown; export type Intent = unknown; /** * {zh} * @description 画中画启动配置选项 */ /** {en} * @description Picture in picture start options */ export interface PictureInPictureOptions { /** * {zh} * @description 画中画类型 * - system: 使用系统画中画(Android 8.0+ 支持) * - floating: 使用悬浮窗实现(需要悬浮窗权限) * @default 'floating' */ /** {en} * @description Picture in picture type * - system: Use system picture in picture (Android 8.0+) * - floating: Use floating window (requires overlay permission) * @default 'floating' */ type?: 'system' | 'floating'; /** * {zh} * @description 是否同步播放器视图配置 * - true: 使用播放器视图的尺寸和填充模式 * - false: 使用视频原始尺寸 * @default false */ /** {en} * @description Whether to sync player view config * - true: Use player view size and fill mode * - false: Use video original size * @default false */ syncPlayerViewConfig?: boolean; }