Improve calculatePlayableDuration documentation
This commit is contained in:
parent
da4e5df5c8
commit
d3c2867ab2
@ -80,7 +80,7 @@ static NSString *const statusKeyPath = @"status";
|
|||||||
/*!
|
/*!
|
||||||
* Calculates and returns the playable duration of the current player item using its loaded time ranges.
|
* Calculates and returns the playable duration of the current player item using its loaded time ranges.
|
||||||
*
|
*
|
||||||
* \returns The playable duration of the current player item.
|
* \returns The playable duration of the current player item in seconds.
|
||||||
*/
|
*/
|
||||||
- (NSNumber *)calculatePlayableDuration {
|
- (NSNumber *)calculatePlayableDuration {
|
||||||
AVPlayerItem *video = _player.currentItem;
|
AVPlayerItem *video = _player.currentItem;
|
||||||
|
Loading…
Reference in New Issue
Block a user