<VOOSMPAssetProperty > Protocol Reference

#import <VOCommonPlayerAssetSelection.h>

+ Inheritance diagram for <VOOSMPAssetProperty >:

Instance Methods

(int) - getPropertyCount
 Get the number of asset (track) properties. More...
 
(NSString *) - getKey:
 Get the property key value by index. More...
 
(id) - getValue:
 Get the property value by index. More...
 

Method Documentation

- (NSString* VOOSMPAssetProperty) getKey: (int)  index

Get the property key value by index.

Parameters
index[in] The index of property. Valid value is from 0 to VOOSMPAssetProperty#getPropertyCount - 1.
Returns
key value (NSString). Supported property keys are specific to the asset type (video, audio, or subtitle) and include: "description" (audio, subtitle, and video) @"language" (audio and subtitle) @"codec" (audio and video) @"bitrate" (audio and video) @"width" (video only) @"height" (video only) @"type" (subtitle for HLS only)
- (int VOOSMPAssetProperty) getPropertyCount

Get the number of asset (track) properties.

Returns
number of properties
- (id VOOSMPAssetProperty) getValue: (int)  index

Get the property value by index.

Parameters
index[in] The index of property. Valid value is from 0 to VOOSMPAssetProperty#getPropertyCount - 1.
Returns
property value (NSString)

The documentation for this protocol was generated from the following file: