SharePlayDelegate
public protocol SharePlayDelegate : AnyObject
Undocumented
-
Called on receiving a new SharePlay invite or when a new group playblack starts. Received
SharePlayAssetmust be used for playback.Declaration
Swift
func didReceiveAssetForSharePlay(asset: SharePlayAsset?)Parameters
asset -
Called when the
SharePlaySessionends. Use this method to close the Player or to close the activity related UI.Declaration
Swift
func didEndSharePlaySession() -
Called if there is any error while activating a SharePlay.
Declaration
Swift
func didFailWith(error: FLError) -
Called when an user joines or leaves
FaceTimecall. This delegate can be used to update the UI as perFaceTimestate. Example: In case we need to update an UI to indicate that user canSharePlaysome media.Declaration
Swift
func didUpdateSharePlay(eligibility: Bool)Parameters
eligibilityA boolean value indicating
FaceTimeconnectivity state.