AudioPlayerDataSource
@MainActor
@objc
public protocol AudioPlayerDataSource
音频播放器数据源
-
Undocumented
Declaration
Swift
@objc @MainActor optional func audioPlayerNumberOfItems() -> Int
-
音频源URL,支持String|URL|AVURLAsset|AVPlayerItem等
Declaration
Swift
@objc @MainActor optional func audioPlayerURLForItem(at index: Int, preBuffer: Bool) -> Any?
-
Undocumented
Declaration
Swift
@objc @MainActor optional func audioPlayerLoadItem(at index: Int, preBuffer: Bool)