Functions
The following functions are available globally.
-
PLVVodDownloadState 本地字符串
Declaration
Objective-C
static inline NSString * NSStringFromPLVVodDownloadState(PLVVodDownloadState state)
Swift
func NSStringFromPLVVodDownloadState(_ state: PLVVodDownloadState) -> String!
Parameters
state
下载状态
Return Value
描述字符串
-
清晰度
Declaration
Objective-C
int NS_ENUM(NSInteger, PLVVodQuality)
Swift
func NS_ENUM(_ NSInteger: Int32, _ PLVVodErrorCode: Int32) -> Int32
-
清晰度描述
Declaration
Objective-C
static inline NSString *NSStringFromPLVVodQuality(PLVVodQuality quality) { switch (quality) { case PLVVodQualityAuto: return @"自动"; case PLVVodQualityStandard: return @"流畅"; case PLVVodQualityHigh: return @"高清"; case PLVVodQualityUltra: return @"超清"; default: return @"未知"; } }
Swift
func NSStringFromPLVVodQuality(_ quality: Int32) -> UnsafeMutablePointer<Int32>!
-
日志等级
Declaration
Objective-C
int NS_OPTIONS(NSUInteger, PLVVodLogLevel)
Swift
func NS_OPTIONS(_ NSUInteger: Int32, _ PLVVodLogLevel: Int32) -> Int32
-
Undocumented
Declaration
Objective-C
NSDictionary *PLVVodErrorInfoWithCode(PLVVodErrorCode code)
Swift
func PLVVodErrorInfoWithCode(_ code: Int32) -> UnsafeMutablePointer<Int32>!
-
PLVVodAdType 描述
Declaration
Objective-C
NSString *NSStringFromPLVVodAdType(PLVVodAdType adType)
Swift
func NSStringFromPLVVodAdType(_ adType: PLVVodAdType) -> String!
-
PLVVodAdLocation 描述
Declaration
Objective-C
NSString *NSStringFromPLVVodAdLocation(PLVVodAdLocation adLocation)
Swift
func NSStringFromPLVVodAdLocation(_ adLocation: PLVVodAdLocation) -> String!