tvOS SDK API Reference

Brid SDK playback methods

📘

Call methods

You must first initialized player, and then call mathods. You can also call on specified event.

play

Set player to play video content

[self.player play];
player.play()

pause

Set player to pause video content

[self.player pause];
player.pause()

mute

Set player to mute

[self.player mute];
player.mute()

unmute

Set player to unmute

[self.player unmute];
player.unmute()

next

Call next video from playlist

[self.player next];
player.next()

previous

Call previous video from playlist

[self.player previous];
player.previous()

stop

Player stop video

[self.player stop];
player.stop()

getCurrentTime

Get current time. Return CMTime type

[self.player getCurrentTime];
player.getCurrentTime()

seekToTime

Set player time. Set type CMTime

[player seekToTime:(CMTime)];
player.seekToTime(CMTime)

📘

Calling seekToTime

To trigger this method, subscribe on "playerVideoInitialized" event.


Did this page help you?