Functions
The following functions are available globally.
-
PLVVodMediaAdType 描述
Declaration
Objective-C
NSString *NSStringFromPLVVodMediaAdType(PLVVodMediaAdType adType)
Swift
func NSStringFromPLVVodMediaAdType(_ adType: PLVVodMediaAdType) -> String!
-
PLVVodMediaAdLocation 描述
Declaration
Objective-C
NSString *NSStringFromPLVVodMediaAdLocation(PLVVodMediaAdLocation adLocation)
Swift
func NSStringFromPLVVodMediaAdLocation(_ adLocation: PLVVodMediaAdLocation) -> String!
-
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, PLVVodMediaQuality)
Swift
func NS_ENUM(_ NSInteger: Int32, _ PLVVodMediaQuality: Int32) -> Int32
-
清晰度描述
Declaration
Objective-C
static inline NSString *NSStringFromPLVVodMediaQuality(PLVVodMediaQuality quality) { switch (quality) { case PLVVodMediaQualityAuto: return @"自动"; case PLVVodMediaQualityStandard: return @"流畅"; case PLVVodMediaQualityHigh: return @"高清"; case PLVVodMediaQualityUltra: return @"超清"; default: return @"未知"; } }
-
日志等级
Declaration
Objective-C
int NS_OPTIONS(NSUInteger, PLVVodMediaLogLevel)
Swift
func NS_OPTIONS(_ NSUInteger: Int32, _ PLVVodMediaLogLevel: Int32) -> Int32
-
Undocumented
Declaration
Objective-C
NSDictionary *PLVVodMediaErrorInfoWithCode(PLVVodMediaErrorCode code)