DorisPlayerOutputProtocol
public protocol DorisPlayerOutputProtocol : AnyObject
possible output of DorisPlayer
-
onPlayerEvent(_:Default implementation) Doris player events
Default Implementation
Declaration
Swift
func onPlayerEvent(_ event: DorisPlayerEvent) -
onPlayerStateChanged(old:Default implementationnew: ) Doris player state changes
Default Implementation
Declaration
Swift
func onPlayerStateChanged(old: DorisPlayerState, new: DorisPlayerState) -
onAdvertisementEvent(_:Default implementation) Ads events
Default Implementation
Declaration
Swift
func onAdvertisementEvent(_ event: DorisAdsEvent) -
onRemoteCommandEvent(_:Default implementation) MPRemoteCommandCenter events
Default Implementation
Declaration
Swift
func onRemoteCommandEvent(_ event: DorisRemoteCommandEvent)
DorisPlayerOutputProtocol Protocol Reference