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