Documentation ¶
Overview ¶
Create user interfaces for media playback, complete with transport controls, chapter navigation, picture-in-picture support, and display of subtitles and closed captions.
Index ¶
- Variables
- func PictureInPictureController_IsPictureInPictureSupported() bool
- func PictureInPictureController_PictureInPictureButtonStartImage() appkit.Image
- func PictureInPictureController_PictureInPictureButtonStopImage() appkit.Image
- type CaptureView
- func (c_ CaptureView) ControlsStyle() CaptureViewControlsStyle
- func (c_ CaptureView) Delegate() CaptureViewDelegateObject
- func (c_ CaptureView) FileOutput() avfoundation.CaptureFileOutput
- func (c_ CaptureView) Init() CaptureView
- func (c_ CaptureView) InitWithFrame(frameRect foundation.Rect) CaptureView
- func (c_ CaptureView) Session() avfoundation.CaptureSession
- func (c_ CaptureView) SetControlsStyle(value CaptureViewControlsStyle)
- func (c_ CaptureView) SetDelegate(value PCaptureViewDelegate)
- func (c_ CaptureView) SetDelegateObject(valueObject objc.IObject)
- func (c_ CaptureView) SetSessionShowVideoPreviewShowAudioPreview(session avfoundation.ICaptureSession, showVideoPreview bool, ...)
- func (c_ CaptureView) SetVideoGravity(value avfoundation.LayerVideoGravity)
- func (c_ CaptureView) VideoGravity() avfoundation.LayerVideoGravity
- type CaptureViewControlsStyle
- type CaptureViewDelegate
- func (di *CaptureViewDelegate) CaptureViewStartRecordingToFileOutput(captureView CaptureView, fileOutput avfoundation.CaptureFileOutput)
- func (di *CaptureViewDelegate) HasCaptureViewStartRecordingToFileOutput() bool
- func (di *CaptureViewDelegate) SetCaptureViewStartRecordingToFileOutput(f func(captureView CaptureView, fileOutput avfoundation.CaptureFileOutput))
- type CaptureViewDelegateObject
- type ICaptureView
- type IPictureInPictureController
- type IPictureInPictureControllerContentSource
- type IPlayerView
- type IRoutePickerView
- type PCaptureViewDelegate
- type PPictureInPictureControllerDelegate
- type PPictureInPictureSampleBufferPlaybackDelegate
- type PPlayerViewDelegate
- type PPlayerViewPictureInPictureDelegate
- type PRoutePickerViewDelegate
- type PictureInPictureController
- func NewPictureInPictureController() PictureInPictureController
- func NewPictureInPictureControllerWithContentSource(contentSource IPictureInPictureControllerContentSource) PictureInPictureController
- func NewPictureInPictureControllerWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureController
- func PictureInPictureControllerFrom(ptr unsafe.Pointer) PictureInPictureController
- func (p_ PictureInPictureController) ContentSource() PictureInPictureControllerContentSource
- func (p_ PictureInPictureController) Delegate() PictureInPictureControllerDelegateObject
- func (p_ PictureInPictureController) Init() PictureInPictureController
- func (p_ PictureInPictureController) InitWithContentSource(contentSource IPictureInPictureControllerContentSource) PictureInPictureController
- func (p_ PictureInPictureController) InitWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureController
- func (p_ PictureInPictureController) InvalidatePlaybackState()
- func (p_ PictureInPictureController) IsPictureInPictureActive() bool
- func (p_ PictureInPictureController) IsPictureInPicturePossible() bool
- func (p_ PictureInPictureController) IsPictureInPictureSuspended() bool
- func (p_ PictureInPictureController) PlayerLayer() avfoundation.PlayerLayer
- func (p_ PictureInPictureController) RequiresLinearPlayback() bool
- func (p_ PictureInPictureController) SetContentSource(value IPictureInPictureControllerContentSource)
- func (p_ PictureInPictureController) SetDelegate(value PPictureInPictureControllerDelegate)
- func (p_ PictureInPictureController) SetDelegateObject(valueObject objc.IObject)
- func (p_ PictureInPictureController) SetRequiresLinearPlayback(value bool)
- func (p_ PictureInPictureController) StartPictureInPicture()
- func (p_ PictureInPictureController) StopPictureInPicture()
- type PictureInPictureControllerContentSource
- func NewPictureInPictureControllerContentSource() PictureInPictureControllerContentSource
- func NewPictureInPictureControllerContentSourceWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureControllerContentSource
- func NewPictureInPictureControllerContentSourceWithSampleBufferDisplayLayerPlaybackDelegate(sampleBufferDisplayLayer avfoundation.ISampleBufferDisplayLayer, ...) PictureInPictureControllerContentSource
- func PictureInPictureControllerContentSourceFrom(ptr unsafe.Pointer) PictureInPictureControllerContentSource
- func (p_ PictureInPictureControllerContentSource) Init() PictureInPictureControllerContentSource
- func (p_ PictureInPictureControllerContentSource) InitWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureControllerContentSource
- func (p_ PictureInPictureControllerContentSource) InitWithSampleBufferDisplayLayerPlaybackDelegate(sampleBufferDisplayLayer avfoundation.ISampleBufferDisplayLayer, ...) PictureInPictureControllerContentSource
- func (p_ PictureInPictureControllerContentSource) PlayerLayer() avfoundation.PlayerLayer
- func (p_ PictureInPictureControllerContentSource) SampleBufferDisplayLayer() avfoundation.SampleBufferDisplayLayer
- func (p_ PictureInPictureControllerContentSource) SampleBufferPlaybackDelegate() PictureInPictureSampleBufferPlaybackDelegateObject
- type PictureInPictureControllerDelegate
- func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerDidStartPictureInPicture() bool
- func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerDidStopPictureInPicture() bool
- func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerFailedToStartPictureInPictureWithError() bool
- func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
- func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerWillStartPictureInPicture() bool
- func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerWillStopPictureInPicture() bool
- func (di *PictureInPictureControllerDelegate) PictureInPictureControllerDidStartPictureInPicture(pictureInPictureController PictureInPictureController)
- func (di *PictureInPictureControllerDelegate) PictureInPictureControllerDidStopPictureInPicture(pictureInPictureController PictureInPictureController)
- func (di *PictureInPictureControllerDelegate) PictureInPictureControllerFailedToStartPictureInPictureWithError(pictureInPictureController PictureInPictureController, error foundation.Error)
- func (di *PictureInPictureControllerDelegate) PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(pictureInPictureController PictureInPictureController, ...)
- func (di *PictureInPictureControllerDelegate) PictureInPictureControllerWillStartPictureInPicture(pictureInPictureController PictureInPictureController)
- func (di *PictureInPictureControllerDelegate) PictureInPictureControllerWillStopPictureInPicture(pictureInPictureController PictureInPictureController)
- func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerDidStartPictureInPicture(f func(pictureInPictureController PictureInPictureController))
- func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerDidStopPictureInPicture(f func(pictureInPictureController PictureInPictureController))
- func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerFailedToStartPictureInPictureWithError(...)
- func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(f func(pictureInPictureController PictureInPictureController, ...))
- func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerWillStartPictureInPicture(f func(pictureInPictureController PictureInPictureController))
- func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerWillStopPictureInPicture(f func(pictureInPictureController PictureInPictureController))
- type PictureInPictureControllerDelegateObject
- func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerDidStartPictureInPicture() bool
- func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerDidStopPictureInPicture() bool
- func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerFailedToStartPictureInPictureWithError() bool
- func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
- func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerWillStartPictureInPicture() bool
- func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerWillStopPictureInPicture() bool
- func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerDidStartPictureInPicture(pictureInPictureController PictureInPictureController)
- func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerDidStopPictureInPicture(pictureInPictureController PictureInPictureController)
- func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerFailedToStartPictureInPictureWithError(pictureInPictureController PictureInPictureController, error foundation.Error)
- func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(pictureInPictureController PictureInPictureController, ...)
- func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerWillStartPictureInPicture(pictureInPictureController PictureInPictureController)
- func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerWillStopPictureInPicture(pictureInPictureController PictureInPictureController)
- type PictureInPictureSampleBufferPlaybackDelegate
- func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerDidTransitionToRenderSize() bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerIsPlaybackPaused() bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerSetPlaying() bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback() bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerSkipByIntervalCompletionHandler() bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerTimeRangeForPlayback() bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerDidTransitionToRenderSize(pictureInPictureController PictureInPictureController, ...)
- func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerIsPlaybackPaused(pictureInPictureController PictureInPictureController) bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerSetPlaying(pictureInPictureController PictureInPictureController, playing bool)
- func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerShouldProhibitBackgroundAudioPlayback(pictureInPictureController PictureInPictureController) bool
- func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerSkipByIntervalCompletionHandler(pictureInPictureController PictureInPictureController, ...)
- func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerTimeRangeForPlayback(pictureInPictureController PictureInPictureController) coremedia.TimeRange
- func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerDidTransitionToRenderSize(f func(pictureInPictureController PictureInPictureController, ...))
- func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerIsPlaybackPaused(f func(pictureInPictureController PictureInPictureController) bool)
- func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerSetPlaying(f func(pictureInPictureController PictureInPictureController, playing bool))
- func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerShouldProhibitBackgroundAudioPlayback(f func(pictureInPictureController PictureInPictureController) bool)
- func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerSkipByIntervalCompletionHandler(f func(pictureInPictureController PictureInPictureController, ...))
- func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerTimeRangeForPlayback(...)
- type PictureInPictureSampleBufferPlaybackDelegateObject
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerDidTransitionToRenderSize() bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerIsPlaybackPaused() bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerSetPlaying() bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback() bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerSkipByIntervalCompletionHandler() bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerTimeRangeForPlayback() bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerDidTransitionToRenderSize(pictureInPictureController PictureInPictureController, ...)
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerIsPlaybackPaused(pictureInPictureController PictureInPictureController) bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerSetPlaying(pictureInPictureController PictureInPictureController, playing bool)
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerShouldProhibitBackgroundAudioPlayback(pictureInPictureController PictureInPictureController) bool
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerSkipByIntervalCompletionHandler(pictureInPictureController PictureInPictureController, ...)
- func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerTimeRangeForPlayback(pictureInPictureController PictureInPictureController) coremedia.TimeRange
- type PlayerView
- func (p_ PlayerView) ActionPopUpButtonMenu() appkit.Menu
- func (p_ PlayerView) AllowsPictureInPicturePlayback() bool
- func (p_ PlayerView) BeginTrimmingWithCompletionHandler(handler func(result PlayerViewTrimResult))
- func (p_ PlayerView) CanBeginTrimming() bool
- func (p_ PlayerView) ContentOverlayView() appkit.View
- func (p_ PlayerView) ControlsStyle() PlayerViewControlsStyle
- func (p_ PlayerView) Delegate() PlayerViewDelegateObject
- func (p_ PlayerView) FlashChapterNumberChapterTitle(chapterNumber uint, chapterTitle string)
- func (p_ PlayerView) Init() PlayerView
- func (p_ PlayerView) InitWithFrame(frameRect foundation.Rect) PlayerView
- func (p_ PlayerView) IsReadyForDisplay() bool
- func (p_ PlayerView) PictureInPictureDelegate() PlayerViewPictureInPictureDelegateObject
- func (p_ PlayerView) Player() avfoundation.Player
- func (p_ PlayerView) SetActionPopUpButtonMenu(value appkit.IMenu)
- func (p_ PlayerView) SetAllowsPictureInPicturePlayback(value bool)
- func (p_ PlayerView) SetControlsStyle(value PlayerViewControlsStyle)
- func (p_ PlayerView) SetDelegate(value PPlayerViewDelegate)
- func (p_ PlayerView) SetDelegateObject(valueObject objc.IObject)
- func (p_ PlayerView) SetPictureInPictureDelegate(value PPlayerViewPictureInPictureDelegate)
- func (p_ PlayerView) SetPictureInPictureDelegateObject(valueObject objc.IObject)
- func (p_ PlayerView) SetPlayer(value avfoundation.IPlayer)
- func (p_ PlayerView) SetShowsFrameSteppingButtons(value bool)
- func (p_ PlayerView) SetShowsFullScreenToggleButton(value bool)
- func (p_ PlayerView) SetShowsSharingServiceButton(value bool)
- func (p_ PlayerView) SetShowsTimecodes(value bool)
- func (p_ PlayerView) SetUpdatesNowPlayingInfoCenter(value bool)
- func (p_ PlayerView) SetVideoGravity(value avfoundation.LayerVideoGravity)
- func (p_ PlayerView) ShowsFrameSteppingButtons() bool
- func (p_ PlayerView) ShowsFullScreenToggleButton() bool
- func (p_ PlayerView) ShowsSharingServiceButton() bool
- func (p_ PlayerView) ShowsTimecodes() bool
- func (p_ PlayerView) UpdatesNowPlayingInfoCenter() bool
- func (p_ PlayerView) VideoBounds() foundation.Rect
- func (p_ PlayerView) VideoGravity() avfoundation.LayerVideoGravity
- type PlayerViewControlsStyle
- type PlayerViewDelegate
- func (di *PlayerViewDelegate) HasPlayerViewDidEnterFullScreen() bool
- func (di *PlayerViewDelegate) HasPlayerViewDidExitFullScreen() bool
- func (di *PlayerViewDelegate) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler() bool
- func (di *PlayerViewDelegate) HasPlayerViewWillEnterFullScreen() bool
- func (di *PlayerViewDelegate) HasPlayerViewWillExitFullScreen() bool
- func (di *PlayerViewDelegate) PlayerViewDidEnterFullScreen(playerView PlayerView)
- func (di *PlayerViewDelegate) PlayerViewDidExitFullScreen(playerView PlayerView)
- func (di *PlayerViewDelegate) PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
- func (di *PlayerViewDelegate) PlayerViewWillEnterFullScreen(playerView PlayerView)
- func (di *PlayerViewDelegate) PlayerViewWillExitFullScreen(playerView PlayerView)
- func (di *PlayerViewDelegate) SetPlayerViewDidEnterFullScreen(f func(playerView PlayerView))
- func (di *PlayerViewDelegate) SetPlayerViewDidExitFullScreen(f func(playerView PlayerView))
- func (di *PlayerViewDelegate) SetPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(f func(playerView PlayerView, completionHandler func(restored bool)))
- func (di *PlayerViewDelegate) SetPlayerViewWillEnterFullScreen(f func(playerView PlayerView))
- func (di *PlayerViewDelegate) SetPlayerViewWillExitFullScreen(f func(playerView PlayerView))
- type PlayerViewDelegateObject
- func (p_ PlayerViewDelegateObject) HasPlayerViewDidEnterFullScreen() bool
- func (p_ PlayerViewDelegateObject) HasPlayerViewDidExitFullScreen() bool
- func (p_ PlayerViewDelegateObject) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler() bool
- func (p_ PlayerViewDelegateObject) HasPlayerViewWillEnterFullScreen() bool
- func (p_ PlayerViewDelegateObject) HasPlayerViewWillExitFullScreen() bool
- func (p_ PlayerViewDelegateObject) PlayerViewDidEnterFullScreen(playerView PlayerView)
- func (p_ PlayerViewDelegateObject) PlayerViewDidExitFullScreen(playerView PlayerView)
- func (p_ PlayerViewDelegateObject) PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
- func (p_ PlayerViewDelegateObject) PlayerViewWillEnterFullScreen(playerView PlayerView)
- func (p_ PlayerViewDelegateObject) PlayerViewWillExitFullScreen(playerView PlayerView)
- type PlayerViewPictureInPictureDelegate
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewDidStartPictureInPicture() bool
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewDidStopPictureInPicture() bool
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewFailedToStartPictureInPictureWithError() bool
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart() bool
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewWillStartPictureInPicture() bool
- func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewWillStopPictureInPicture() bool
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewDidStartPictureInPicture(playerView PlayerView)
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewDidStopPictureInPicture(playerView PlayerView)
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewFailedToStartPictureInPictureWithError(playerView PlayerView, error foundation.Error)
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(playerView PlayerView) bool
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewWillStartPictureInPicture(playerView PlayerView)
- func (di *PlayerViewPictureInPictureDelegate) PlayerViewWillStopPictureInPicture(playerView PlayerView)
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewDidStartPictureInPicture(f func(playerView PlayerView))
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewDidStopPictureInPicture(f func(playerView PlayerView))
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewFailedToStartPictureInPictureWithError(f func(playerView PlayerView, error foundation.Error))
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(f func(playerView PlayerView, completionHandler func(restored bool)))
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(f func(playerView PlayerView) bool)
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewWillStartPictureInPicture(f func(playerView PlayerView))
- func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewWillStopPictureInPicture(f func(playerView PlayerView))
- type PlayerViewPictureInPictureDelegateObject
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewDidStartPictureInPicture() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewDidStopPictureInPicture() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewFailedToStartPictureInPictureWithError() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewWillStartPictureInPicture() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewWillStopPictureInPicture() bool
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewDidStartPictureInPicture(playerView PlayerView)
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewDidStopPictureInPicture(playerView PlayerView)
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewFailedToStartPictureInPictureWithError(playerView PlayerView, error foundation.Error)
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(playerView PlayerView) bool
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewWillStartPictureInPicture(playerView PlayerView)
- func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewWillStopPictureInPicture(playerView PlayerView)
- type PlayerViewTrimResult
- type RoutePickerView
- func (r_ RoutePickerView) Delegate() RoutePickerViewDelegateObject
- func (r_ RoutePickerView) Init() RoutePickerView
- func (r_ RoutePickerView) InitWithFrame(frameRect foundation.Rect) RoutePickerView
- func (r_ RoutePickerView) IsRoutePickerButtonBordered() bool
- func (r_ RoutePickerView) Player() avfoundation.Player
- func (r_ RoutePickerView) RoutePickerButtonColorForState(state RoutePickerViewButtonState) appkit.Color
- func (r_ RoutePickerView) SetDelegate(value PRoutePickerViewDelegate)
- func (r_ RoutePickerView) SetDelegateObject(valueObject objc.IObject)
- func (r_ RoutePickerView) SetPlayer(value avfoundation.IPlayer)
- func (r_ RoutePickerView) SetRoutePickerButtonBordered(value bool)
- func (r_ RoutePickerView) SetRoutePickerButtonColorForState(color appkit.IColor, state RoutePickerViewButtonState)
- type RoutePickerViewButtonState
- type RoutePickerViewDelegate
- func (di *RoutePickerViewDelegate) HasRoutePickerViewDidEndPresentingRoutes() bool
- func (di *RoutePickerViewDelegate) HasRoutePickerViewWillBeginPresentingRoutes() bool
- func (di *RoutePickerViewDelegate) RoutePickerViewDidEndPresentingRoutes(routePickerView RoutePickerView)
- func (di *RoutePickerViewDelegate) RoutePickerViewWillBeginPresentingRoutes(routePickerView RoutePickerView)
- func (di *RoutePickerViewDelegate) SetRoutePickerViewDidEndPresentingRoutes(f func(routePickerView RoutePickerView))
- func (di *RoutePickerViewDelegate) SetRoutePickerViewWillBeginPresentingRoutes(f func(routePickerView RoutePickerView))
- type RoutePickerViewDelegateObject
- func (r_ RoutePickerViewDelegateObject) HasRoutePickerViewDidEndPresentingRoutes() bool
- func (r_ RoutePickerViewDelegateObject) HasRoutePickerViewWillBeginPresentingRoutes() bool
- func (r_ RoutePickerViewDelegateObject) RoutePickerViewDidEndPresentingRoutes(routePickerView RoutePickerView)
- func (r_ RoutePickerViewDelegateObject) RoutePickerViewWillBeginPresentingRoutes(routePickerView RoutePickerView)
Constants ¶
This section is empty.
Variables ¶
var CaptureViewClass = _CaptureViewClass{objc.GetClass("AVCaptureView")}
The class instance for the CaptureView class.
var PictureInPictureControllerClass = _PictureInPictureControllerClass{objc.GetClass("AVPictureInPictureController")}
The class instance for the PictureInPictureController class.
var PictureInPictureControllerContentSourceClass = _PictureInPictureControllerContentSourceClass{objc.GetClass("AVPictureInPictureControllerContentSource")}
The class instance for the PictureInPictureControllerContentSource class.
var PlayerViewClass = _PlayerViewClass{objc.GetClass("AVPlayerView")}
The class instance for the PlayerView class.
var RoutePickerViewClass = _RoutePickerViewClass{objc.GetClass("AVRoutePickerView")}
The class instance for the RoutePickerView class.
Functions ¶
func PictureInPictureController_IsPictureInPictureSupported ¶
func PictureInPictureController_IsPictureInPictureSupported() bool
Returns a Boolean value that indicates whether the current device supports Picture in Picture. Full Topic
func PictureInPictureController_PictureInPictureButtonStartImage ¶
A system-default template image for the button that starts Picture in Picture in your app. Full Topic
func PictureInPictureController_PictureInPictureButtonStopImage ¶
A system-default template image for the button that stops Picture in Picture in your app. Full Topic
Types ¶
type CaptureView ¶
A view that displays standard user interface controls for capturing media data. Full Topic
func CaptureViewFrom ¶
func CaptureViewFrom(ptr unsafe.Pointer) CaptureView
func NewCaptureView ¶
func NewCaptureView() CaptureView
func NewCaptureViewWithFrame ¶
func NewCaptureViewWithFrame(frameRect foundation.Rect) CaptureView
Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic
func (CaptureView) ControlsStyle ¶
func (c_ CaptureView) ControlsStyle() CaptureViewControlsStyle
The style of the capture controls presented by the view. Full Topic
func (CaptureView) Delegate ¶
func (c_ CaptureView) Delegate() CaptureViewDelegateObject
The capture view’s delegate object. Full Topic
func (CaptureView) FileOutput ¶
func (c_ CaptureView) FileOutput() avfoundation.CaptureFileOutput
The capture file output used to record media data. Full Topic
func (CaptureView) Init ¶
func (c_ CaptureView) Init() CaptureView
func (CaptureView) InitWithFrame ¶
func (c_ CaptureView) InitWithFrame(frameRect foundation.Rect) CaptureView
func (CaptureView) Session ¶
func (c_ CaptureView) Session() avfoundation.CaptureSession
The view’s associated capture session. Full Topic
func (CaptureView) SetControlsStyle ¶
func (c_ CaptureView) SetControlsStyle(value CaptureViewControlsStyle)
The style of the capture controls presented by the view. Full Topic
func (CaptureView) SetDelegate ¶
func (c_ CaptureView) SetDelegate(value PCaptureViewDelegate)
The capture view’s delegate object. Full Topic
func (CaptureView) SetDelegateObject ¶
func (c_ CaptureView) SetDelegateObject(valueObject objc.IObject)
The capture view’s delegate object. Full Topic
func (CaptureView) SetSessionShowVideoPreviewShowAudioPreview ¶
func (c_ CaptureView) SetSessionShowVideoPreviewShowAudioPreview(session avfoundation.ICaptureSession, showVideoPreview bool, showAudioPreview bool)
Sets the view’s capture session. Full Topic
func (CaptureView) SetVideoGravity ¶
func (c_ CaptureView) SetVideoGravity(value avfoundation.LayerVideoGravity)
A string value that defines how the capture view displays video within its bounds. Full Topic
func (CaptureView) VideoGravity ¶
func (c_ CaptureView) VideoGravity() avfoundation.LayerVideoGravity
A string value that defines how the capture view displays video within its bounds. Full Topic
type CaptureViewControlsStyle ¶
type CaptureViewControlsStyle int
Constants that describe the capture view’s supported controls styles. Full Topic
const ( CaptureViewControlsStyleDefault CaptureViewControlsStyle = 0 CaptureViewControlsStyleFloating CaptureViewControlsStyle = 1 CaptureViewControlsStyleInline CaptureViewControlsStyle = 0 CaptureViewControlsStyleInlineDeviceSelection CaptureViewControlsStyle = 2 )
type CaptureViewDelegate ¶
type CaptureViewDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PCaptureViewDelegate protocol.
func (*CaptureViewDelegate) CaptureViewStartRecordingToFileOutput ¶
func (di *CaptureViewDelegate) CaptureViewStartRecordingToFileOutput(captureView CaptureView, fileOutput avfoundation.CaptureFileOutput)
Tells the delegate that the user has made a request to start a new recording. Full Topic
func (*CaptureViewDelegate) HasCaptureViewStartRecordingToFileOutput ¶
func (di *CaptureViewDelegate) HasCaptureViewStartRecordingToFileOutput() bool
func (*CaptureViewDelegate) SetCaptureViewStartRecordingToFileOutput ¶
func (di *CaptureViewDelegate) SetCaptureViewStartRecordingToFileOutput(f func(captureView CaptureView, fileOutput avfoundation.CaptureFileOutput))
Tells the delegate that the user has made a request to start a new recording. Full Topic
type CaptureViewDelegateObject ¶
A concrete type for the PCaptureViewDelegate protocol.
func (CaptureViewDelegateObject) CaptureViewStartRecordingToFileOutput ¶
func (c_ CaptureViewDelegateObject) CaptureViewStartRecordingToFileOutput(captureView CaptureView, fileOutput avfoundation.CaptureFileOutput)
Tells the delegate that the user has made a request to start a new recording. Full Topic
func (CaptureViewDelegateObject) HasCaptureViewStartRecordingToFileOutput ¶
func (c_ CaptureViewDelegateObject) HasCaptureViewStartRecordingToFileOutput() bool
type ICaptureView ¶
type ICaptureView interface { appkit.IView SetSessionShowVideoPreviewShowAudioPreview(session avfoundation.ICaptureSession, showVideoPreview bool, showAudioPreview bool) FileOutput() avfoundation.CaptureFileOutput ControlsStyle() CaptureViewControlsStyle SetControlsStyle(value CaptureViewControlsStyle) Session() avfoundation.CaptureSession VideoGravity() avfoundation.LayerVideoGravity SetVideoGravity(value avfoundation.LayerVideoGravity) Delegate() CaptureViewDelegateObject SetDelegate(value PCaptureViewDelegate) SetDelegateObject(valueObject objc.IObject) }
An interface definition for the CaptureView class.
type IPictureInPictureController ¶
type IPictureInPictureController interface { objc.IObject InvalidatePlaybackState() StartPictureInPicture() StopPictureInPicture() PlayerLayer() avfoundation.PlayerLayer Delegate() PictureInPictureControllerDelegateObject SetDelegate(value PPictureInPictureControllerDelegate) SetDelegateObject(valueObject objc.IObject) IsPictureInPictureSuspended() bool IsPictureInPicturePossible() bool RequiresLinearPlayback() bool SetRequiresLinearPlayback(value bool) ContentSource() PictureInPictureControllerContentSource SetContentSource(value IPictureInPictureControllerContentSource) IsPictureInPictureActive() bool }
An interface definition for the PictureInPictureController class.
type IPictureInPictureControllerContentSource ¶
type IPictureInPictureControllerContentSource interface { objc.IObject PlayerLayer() avfoundation.PlayerLayer SampleBufferPlaybackDelegate() PictureInPictureSampleBufferPlaybackDelegateObject SampleBufferDisplayLayer() avfoundation.SampleBufferDisplayLayer }
An interface definition for the PictureInPictureControllerContentSource class.
type IPlayerView ¶
type IPlayerView interface { appkit.IView FlashChapterNumberChapterTitle(chapterNumber uint, chapterTitle string) BeginTrimmingWithCompletionHandler(handler func(result PlayerViewTrimResult)) ShowsTimecodes() bool SetShowsTimecodes(value bool) ShowsFrameSteppingButtons() bool SetShowsFrameSteppingButtons(value bool) Player() avfoundation.Player SetPlayer(value avfoundation.IPlayer) VideoGravity() avfoundation.LayerVideoGravity SetVideoGravity(value avfoundation.LayerVideoGravity) VideoBounds() foundation.Rect Delegate() PlayerViewDelegateObject SetDelegate(value PPlayerViewDelegate) SetDelegateObject(valueObject objc.IObject) UpdatesNowPlayingInfoCenter() bool SetUpdatesNowPlayingInfoCenter(value bool) ShowsFullScreenToggleButton() bool SetShowsFullScreenToggleButton(value bool) AllowsPictureInPicturePlayback() bool SetAllowsPictureInPicturePlayback(value bool) ContentOverlayView() appkit.View CanBeginTrimming() bool ShowsSharingServiceButton() bool SetShowsSharingServiceButton(value bool) ControlsStyle() PlayerViewControlsStyle SetControlsStyle(value PlayerViewControlsStyle) ActionPopUpButtonMenu() appkit.Menu SetActionPopUpButtonMenu(value appkit.IMenu) IsReadyForDisplay() bool PictureInPictureDelegate() PlayerViewPictureInPictureDelegateObject SetPictureInPictureDelegate(value PPlayerViewPictureInPictureDelegate) SetPictureInPictureDelegateObject(valueObject objc.IObject) }
An interface definition for the PlayerView class.
type IRoutePickerView ¶
type IRoutePickerView interface { appkit.IView SetRoutePickerButtonColorForState(color appkit.IColor, state RoutePickerViewButtonState) RoutePickerButtonColorForState(state RoutePickerViewButtonState) appkit.Color IsRoutePickerButtonBordered() bool SetRoutePickerButtonBordered(value bool) Player() avfoundation.Player SetPlayer(value avfoundation.IPlayer) Delegate() RoutePickerViewDelegateObject SetDelegate(value PRoutePickerViewDelegate) SetDelegateObject(valueObject objc.IObject) }
An interface definition for the RoutePickerView class.
type PCaptureViewDelegate ¶
type PCaptureViewDelegate interface { // optional CaptureViewStartRecordingToFileOutput(captureView CaptureView, fileOutput avfoundation.CaptureFileOutput) HasCaptureViewStartRecordingToFileOutput() bool }
The protocol that defines the methods you can implement to respond to capture view events. Full Topic
type PPictureInPictureControllerDelegate ¶
type PPictureInPictureControllerDelegate interface { // optional PictureInPictureControllerWillStartPictureInPicture(pictureInPictureController PictureInPictureController) HasPictureInPictureControllerWillStartPictureInPicture() bool // optional PictureInPictureControllerDidStartPictureInPicture(pictureInPictureController PictureInPictureController) HasPictureInPictureControllerDidStartPictureInPicture() bool // optional PictureInPictureControllerDidStopPictureInPicture(pictureInPictureController PictureInPictureController) HasPictureInPictureControllerDidStopPictureInPicture() bool // optional PictureInPictureControllerWillStopPictureInPicture(pictureInPictureController PictureInPictureController) HasPictureInPictureControllerWillStopPictureInPicture() bool // optional PictureInPictureControllerFailedToStartPictureInPictureWithError(pictureInPictureController PictureInPictureController, error foundation.Error) HasPictureInPictureControllerFailedToStartPictureInPictureWithError() bool // optional PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(pictureInPictureController PictureInPictureController, completionHandler func(restored bool)) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool }
A protocol to adopt to respond to Picture in Picture events. Full Topic
type PPictureInPictureSampleBufferPlaybackDelegate ¶
type PPictureInPictureSampleBufferPlaybackDelegate interface { // optional PictureInPictureControllerDidTransitionToRenderSize(pictureInPictureController PictureInPictureController, newRenderSize coremedia.VideoDimensions) HasPictureInPictureControllerDidTransitionToRenderSize() bool // optional PictureInPictureControllerSkipByIntervalCompletionHandler(pictureInPictureController PictureInPictureController, skipInterval coremedia.Time, completionHandler func()) HasPictureInPictureControllerSkipByIntervalCompletionHandler() bool // optional PictureInPictureControllerSetPlaying(pictureInPictureController PictureInPictureController, playing bool) HasPictureInPictureControllerSetPlaying() bool // optional PictureInPictureControllerIsPlaybackPaused(pictureInPictureController PictureInPictureController) bool HasPictureInPictureControllerIsPlaybackPaused() bool // optional PictureInPictureControllerTimeRangeForPlayback(pictureInPictureController PictureInPictureController) coremedia.TimeRange HasPictureInPictureControllerTimeRangeForPlayback() bool // optional PictureInPictureControllerShouldProhibitBackgroundAudioPlayback(pictureInPictureController PictureInPictureController) bool HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback() bool }
A protocol for controlling playback from a sample buffer display layer in Picture in Picture. Full Topic
type PPlayerViewDelegate ¶
type PPlayerViewDelegate interface { // optional PlayerViewWillExitFullScreen(playerView PlayerView) HasPlayerViewWillExitFullScreen() bool // optional PlayerViewWillEnterFullScreen(playerView PlayerView) HasPlayerViewWillEnterFullScreen() bool // optional PlayerViewDidExitFullScreen(playerView PlayerView) HasPlayerViewDidExitFullScreen() bool // optional PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool)) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler() bool // optional PlayerViewDidEnterFullScreen(playerView PlayerView) HasPlayerViewDidEnterFullScreen() bool }
A protocol that defines the methods to implement to participate in the player view’s full-screen presentation life cycle. Full Topic
type PPlayerViewPictureInPictureDelegate ¶
type PPlayerViewPictureInPictureDelegate interface { // optional PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(playerView PlayerView) bool HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart() bool // optional PlayerViewFailedToStartPictureInPictureWithError(playerView PlayerView, error foundation.Error) HasPlayerViewFailedToStartPictureInPictureWithError() bool // optional PlayerViewWillStopPictureInPicture(playerView PlayerView) HasPlayerViewWillStopPictureInPicture() bool // optional PlayerViewDidStartPictureInPicture(playerView PlayerView) HasPlayerViewDidStartPictureInPicture() bool // optional PlayerViewWillStartPictureInPicture(playerView PlayerView) HasPlayerViewWillStartPictureInPicture() bool // optional PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool)) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool // optional PlayerViewDidStopPictureInPicture(playerView PlayerView) HasPlayerViewDidStopPictureInPicture() bool }
A protocol that defines the methods to implement to respond to Picture in Picture playback events. Full Topic
type PRoutePickerViewDelegate ¶
type PRoutePickerViewDelegate interface { // optional RoutePickerViewDidEndPresentingRoutes(routePickerView RoutePickerView) HasRoutePickerViewDidEndPresentingRoutes() bool // optional RoutePickerViewWillBeginPresentingRoutes(routePickerView RoutePickerView) HasRoutePickerViewWillBeginPresentingRoutes() bool }
A protocol that defines the methods to adopt to respond to route picker view presentation events. Full Topic
type PictureInPictureController ¶
A controller that responds to user-initiated Picture in Picture playback of video in a floating, resizable window. Full Topic
func NewPictureInPictureController ¶
func NewPictureInPictureController() PictureInPictureController
func NewPictureInPictureControllerWithContentSource ¶
func NewPictureInPictureControllerWithContentSource(contentSource IPictureInPictureControllerContentSource) PictureInPictureController
Creates a Picture in Picture controller with a content source. Full Topic
func NewPictureInPictureControllerWithPlayerLayer ¶
func NewPictureInPictureControllerWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureController
Creates a Picture in Picture controller with a player layer. Full Topic
func PictureInPictureControllerFrom ¶
func PictureInPictureControllerFrom(ptr unsafe.Pointer) PictureInPictureController
func (PictureInPictureController) ContentSource ¶
func (p_ PictureInPictureController) ContentSource() PictureInPictureControllerContentSource
The source of the controller’s content. Full Topic
func (PictureInPictureController) Delegate ¶
func (p_ PictureInPictureController) Delegate() PictureInPictureControllerDelegateObject
A delegate object for a Picture in Picture controller. Full Topic
func (PictureInPictureController) Init ¶
func (p_ PictureInPictureController) Init() PictureInPictureController
func (PictureInPictureController) InitWithContentSource ¶
func (p_ PictureInPictureController) InitWithContentSource(contentSource IPictureInPictureControllerContentSource) PictureInPictureController
func (PictureInPictureController) InitWithPlayerLayer ¶
func (p_ PictureInPictureController) InitWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureController
func (PictureInPictureController) InvalidatePlaybackState ¶
func (p_ PictureInPictureController) InvalidatePlaybackState()
Invalidates the controller’s current playback state and fetches the updated state from the sample buffer playback delegate object. Full Topic
func (PictureInPictureController) IsPictureInPictureActive ¶
func (p_ PictureInPictureController) IsPictureInPictureActive() bool
A Boolean value that indicates whether the Picture in Picture window is onscreen. Full Topic
func (PictureInPictureController) IsPictureInPicturePossible ¶
func (p_ PictureInPictureController) IsPictureInPicturePossible() bool
A Boolean value that indicates whether Picture in Picture playback is currently possible. Full Topic
func (PictureInPictureController) IsPictureInPictureSuspended ¶
func (p_ PictureInPictureController) IsPictureInPictureSuspended() bool
A Boolean value that indicates whether the system suspends the controller’s Picture in Picture window. Full Topic
func (PictureInPictureController) PlayerLayer ¶
func (p_ PictureInPictureController) PlayerLayer() avfoundation.PlayerLayer
The layer that displays the video content. Full Topic
func (PictureInPictureController) RequiresLinearPlayback ¶
func (p_ PictureInPictureController) RequiresLinearPlayback() bool
A Boolean value that determines whether the controller allows the user to skip media content. Full Topic
func (PictureInPictureController) SetContentSource ¶
func (p_ PictureInPictureController) SetContentSource(value IPictureInPictureControllerContentSource)
The source of the controller’s content. Full Topic
func (PictureInPictureController) SetDelegate ¶
func (p_ PictureInPictureController) SetDelegate(value PPictureInPictureControllerDelegate)
A delegate object for a Picture in Picture controller. Full Topic
func (PictureInPictureController) SetDelegateObject ¶
func (p_ PictureInPictureController) SetDelegateObject(valueObject objc.IObject)
A delegate object for a Picture in Picture controller. Full Topic
func (PictureInPictureController) SetRequiresLinearPlayback ¶
func (p_ PictureInPictureController) SetRequiresLinearPlayback(value bool)
A Boolean value that determines whether the controller allows the user to skip media content. Full Topic
func (PictureInPictureController) StartPictureInPicture ¶
func (p_ PictureInPictureController) StartPictureInPicture()
Starts Picture in Picture, if possible. Full Topic
func (PictureInPictureController) StopPictureInPicture ¶
func (p_ PictureInPictureController) StopPictureInPicture()
Stops Picture in Picture, if active. Full Topic
type PictureInPictureControllerContentSource ¶
An object that represents the source of the content to present in Picture in Picture. Full Topic
func NewPictureInPictureControllerContentSource ¶
func NewPictureInPictureControllerContentSource() PictureInPictureControllerContentSource
func NewPictureInPictureControllerContentSourceWithPlayerLayer ¶
func NewPictureInPictureControllerContentSourceWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureControllerContentSource
Creates a content source with a player layer. Full Topic
func NewPictureInPictureControllerContentSourceWithSampleBufferDisplayLayerPlaybackDelegate ¶
func NewPictureInPictureControllerContentSourceWithSampleBufferDisplayLayerPlaybackDelegate(sampleBufferDisplayLayer avfoundation.ISampleBufferDisplayLayer, playbackDelegate PPictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerContentSource
Creates a content source with a sample buffer display layer. Full Topic
func PictureInPictureControllerContentSourceFrom ¶
func PictureInPictureControllerContentSourceFrom(ptr unsafe.Pointer) PictureInPictureControllerContentSource
func (PictureInPictureControllerContentSource) InitWithPlayerLayer ¶
func (p_ PictureInPictureControllerContentSource) InitWithPlayerLayer(playerLayer avfoundation.IPlayerLayer) PictureInPictureControllerContentSource
func (PictureInPictureControllerContentSource) InitWithSampleBufferDisplayLayerPlaybackDelegate ¶
func (p_ PictureInPictureControllerContentSource) InitWithSampleBufferDisplayLayerPlaybackDelegate(sampleBufferDisplayLayer avfoundation.ISampleBufferDisplayLayer, playbackDelegate PPictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerContentSource
func (PictureInPictureControllerContentSource) PlayerLayer ¶
func (p_ PictureInPictureControllerContentSource) PlayerLayer() avfoundation.PlayerLayer
The presenting player layer. Full Topic
func (PictureInPictureControllerContentSource) SampleBufferDisplayLayer ¶
func (p_ PictureInPictureControllerContentSource) SampleBufferDisplayLayer() avfoundation.SampleBufferDisplayLayer
The presenting sample buffer display layer. Full Topic
func (PictureInPictureControllerContentSource) SampleBufferPlaybackDelegate ¶
func (p_ PictureInPictureControllerContentSource) SampleBufferPlaybackDelegate() PictureInPictureSampleBufferPlaybackDelegateObject
A delegate object that responds to sample buffer playback events. Full Topic
type PictureInPictureControllerDelegate ¶
type PictureInPictureControllerDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PPictureInPictureControllerDelegate protocol.
func (*PictureInPictureControllerDelegate) HasPictureInPictureControllerDidStartPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerDidStartPictureInPicture() bool
func (*PictureInPictureControllerDelegate) HasPictureInPictureControllerDidStopPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerDidStopPictureInPicture() bool
func (*PictureInPictureControllerDelegate) HasPictureInPictureControllerFailedToStartPictureInPictureWithError ¶
func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerFailedToStartPictureInPictureWithError() bool
func (*PictureInPictureControllerDelegate) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
func (*PictureInPictureControllerDelegate) HasPictureInPictureControllerWillStartPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerWillStartPictureInPicture() bool
func (*PictureInPictureControllerDelegate) HasPictureInPictureControllerWillStopPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) HasPictureInPictureControllerWillStopPictureInPicture() bool
func (*PictureInPictureControllerDelegate) PictureInPictureControllerDidStartPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) PictureInPictureControllerDidStartPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture started. Full Topic
func (*PictureInPictureControllerDelegate) PictureInPictureControllerDidStopPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) PictureInPictureControllerDidStopPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture stopped. Full Topic
func (*PictureInPictureControllerDelegate) PictureInPictureControllerFailedToStartPictureInPictureWithError ¶
func (di *PictureInPictureControllerDelegate) PictureInPictureControllerFailedToStartPictureInPictureWithError(pictureInPictureController PictureInPictureController, error foundation.Error)
Tells the delegate that Picture in Picture failed to start. Full Topic
func (*PictureInPictureControllerDelegate) PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (di *PictureInPictureControllerDelegate) PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(pictureInPictureController PictureInPictureController, completionHandler func(restored bool))
Tells the delegate to restore the user interface before Picture in Picture stops. Full Topic
func (*PictureInPictureControllerDelegate) PictureInPictureControllerWillStartPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) PictureInPictureControllerWillStartPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture is about to start. Full Topic
func (*PictureInPictureControllerDelegate) PictureInPictureControllerWillStopPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) PictureInPictureControllerWillStopPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture is about to stop. Full Topic
func (*PictureInPictureControllerDelegate) SetPictureInPictureControllerDidStartPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerDidStartPictureInPicture(f func(pictureInPictureController PictureInPictureController))
Tells the delegate that Picture in Picture started. Full Topic
func (*PictureInPictureControllerDelegate) SetPictureInPictureControllerDidStopPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerDidStopPictureInPicture(f func(pictureInPictureController PictureInPictureController))
Tells the delegate that Picture in Picture stopped. Full Topic
func (*PictureInPictureControllerDelegate) SetPictureInPictureControllerFailedToStartPictureInPictureWithError ¶
func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerFailedToStartPictureInPictureWithError(f func(pictureInPictureController PictureInPictureController, error foundation.Error))
Tells the delegate that Picture in Picture failed to start. Full Topic
func (*PictureInPictureControllerDelegate) SetPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(f func(pictureInPictureController PictureInPictureController, completionHandler func(restored bool)))
Tells the delegate to restore the user interface before Picture in Picture stops. Full Topic
func (*PictureInPictureControllerDelegate) SetPictureInPictureControllerWillStartPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerWillStartPictureInPicture(f func(pictureInPictureController PictureInPictureController))
Tells the delegate that Picture in Picture is about to start. Full Topic
func (*PictureInPictureControllerDelegate) SetPictureInPictureControllerWillStopPictureInPicture ¶
func (di *PictureInPictureControllerDelegate) SetPictureInPictureControllerWillStopPictureInPicture(f func(pictureInPictureController PictureInPictureController))
Tells the delegate that Picture in Picture is about to stop. Full Topic
type PictureInPictureControllerDelegateObject ¶
A concrete type for the PPictureInPictureControllerDelegate protocol.
func (PictureInPictureControllerDelegateObject) HasPictureInPictureControllerDidStartPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerDidStartPictureInPicture() bool
func (PictureInPictureControllerDelegateObject) HasPictureInPictureControllerDidStopPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerDidStopPictureInPicture() bool
func (PictureInPictureControllerDelegateObject) HasPictureInPictureControllerFailedToStartPictureInPictureWithError ¶
func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerFailedToStartPictureInPictureWithError() bool
func (PictureInPictureControllerDelegateObject) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
func (PictureInPictureControllerDelegateObject) HasPictureInPictureControllerWillStartPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerWillStartPictureInPicture() bool
func (PictureInPictureControllerDelegateObject) HasPictureInPictureControllerWillStopPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) HasPictureInPictureControllerWillStopPictureInPicture() bool
func (PictureInPictureControllerDelegateObject) PictureInPictureControllerDidStartPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerDidStartPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture started. Full Topic
func (PictureInPictureControllerDelegateObject) PictureInPictureControllerDidStopPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerDidStopPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture stopped. Full Topic
func (PictureInPictureControllerDelegateObject) PictureInPictureControllerFailedToStartPictureInPictureWithError ¶
func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerFailedToStartPictureInPictureWithError(pictureInPictureController PictureInPictureController, error foundation.Error)
Tells the delegate that Picture in Picture failed to start. Full Topic
func (PictureInPictureControllerDelegateObject) PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(pictureInPictureController PictureInPictureController, completionHandler func(restored bool))
Tells the delegate to restore the user interface before Picture in Picture stops. Full Topic
func (PictureInPictureControllerDelegateObject) PictureInPictureControllerWillStartPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerWillStartPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture is about to start. Full Topic
func (PictureInPictureControllerDelegateObject) PictureInPictureControllerWillStopPictureInPicture ¶
func (p_ PictureInPictureControllerDelegateObject) PictureInPictureControllerWillStopPictureInPicture(pictureInPictureController PictureInPictureController)
Tells the delegate that Picture in Picture is about to stop. Full Topic
type PictureInPictureSampleBufferPlaybackDelegate ¶
type PictureInPictureSampleBufferPlaybackDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PPictureInPictureSampleBufferPlaybackDelegate protocol.
func (*PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerDidTransitionToRenderSize ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerDidTransitionToRenderSize() bool
func (*PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerIsPlaybackPaused ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerIsPlaybackPaused() bool
func (*PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerSetPlaying ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerSetPlaying() bool
func (*PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback() bool
func (*PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerSkipByIntervalCompletionHandler ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerSkipByIntervalCompletionHandler() bool
func (*PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerTimeRangeForPlayback ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) HasPictureInPictureControllerTimeRangeForPlayback() bool
func (*PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerDidTransitionToRenderSize ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerDidTransitionToRenderSize(pictureInPictureController PictureInPictureController, newRenderSize coremedia.VideoDimensions)
Tells the delegate when the system Picture in Picture window changes size. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerIsPlaybackPaused ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerIsPlaybackPaused(pictureInPictureController PictureInPictureController) bool
Asks delegate to indicate whether the playback UI reflects a playing or paused state, regardless of the current playback rate. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerSetPlaying ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerSetPlaying(pictureInPictureController PictureInPictureController, playing bool)
Tells the delegate that the user requested to begin or pause playback. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerShouldProhibitBackgroundAudioPlayback ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerShouldProhibitBackgroundAudioPlayback(pictureInPictureController PictureInPictureController) bool
Asks the delegate whether to always prohibit background audio playback. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerSkipByIntervalCompletionHandler ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerSkipByIntervalCompletionHandler(pictureInPictureController PictureInPictureController, skipInterval coremedia.Time, completionHandler func())
Tells the delegate that the user has requested skipping forward or backward by the indicated time interval. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerTimeRangeForPlayback ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) PictureInPictureControllerTimeRangeForPlayback(pictureInPictureController PictureInPictureController) coremedia.TimeRange
Asks the delegate for the current playable time range. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerDidTransitionToRenderSize ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerDidTransitionToRenderSize(f func(pictureInPictureController PictureInPictureController, newRenderSize coremedia.VideoDimensions))
Tells the delegate when the system Picture in Picture window changes size. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerIsPlaybackPaused ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerIsPlaybackPaused(f func(pictureInPictureController PictureInPictureController) bool)
Asks delegate to indicate whether the playback UI reflects a playing or paused state, regardless of the current playback rate. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerSetPlaying ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerSetPlaying(f func(pictureInPictureController PictureInPictureController, playing bool))
Tells the delegate that the user requested to begin or pause playback. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerShouldProhibitBackgroundAudioPlayback ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerShouldProhibitBackgroundAudioPlayback(f func(pictureInPictureController PictureInPictureController) bool)
Asks the delegate whether to always prohibit background audio playback. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerSkipByIntervalCompletionHandler ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerSkipByIntervalCompletionHandler(f func(pictureInPictureController PictureInPictureController, skipInterval coremedia.Time, completionHandler func()))
Tells the delegate that the user has requested skipping forward or backward by the indicated time interval. Full Topic
func (*PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerTimeRangeForPlayback ¶
func (di *PictureInPictureSampleBufferPlaybackDelegate) SetPictureInPictureControllerTimeRangeForPlayback(f func(pictureInPictureController PictureInPictureController) coremedia.TimeRange)
Asks the delegate for the current playable time range. Full Topic
type PictureInPictureSampleBufferPlaybackDelegateObject ¶
A concrete type for the PPictureInPictureSampleBufferPlaybackDelegate protocol.
func (PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerDidTransitionToRenderSize ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerDidTransitionToRenderSize() bool
func (PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerIsPlaybackPaused ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerIsPlaybackPaused() bool
func (PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerSetPlaying ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerSetPlaying() bool
func (PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerShouldProhibitBackgroundAudioPlayback() bool
func (PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerSkipByIntervalCompletionHandler ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerSkipByIntervalCompletionHandler() bool
func (PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerTimeRangeForPlayback ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) HasPictureInPictureControllerTimeRangeForPlayback() bool
func (PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerDidTransitionToRenderSize ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerDidTransitionToRenderSize(pictureInPictureController PictureInPictureController, newRenderSize coremedia.VideoDimensions)
Tells the delegate when the system Picture in Picture window changes size. Full Topic
func (PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerIsPlaybackPaused ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerIsPlaybackPaused(pictureInPictureController PictureInPictureController) bool
Asks delegate to indicate whether the playback UI reflects a playing or paused state, regardless of the current playback rate. Full Topic
func (PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerSetPlaying ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerSetPlaying(pictureInPictureController PictureInPictureController, playing bool)
Tells the delegate that the user requested to begin or pause playback. Full Topic
func (PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerShouldProhibitBackgroundAudioPlayback ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerShouldProhibitBackgroundAudioPlayback(pictureInPictureController PictureInPictureController) bool
Asks the delegate whether to always prohibit background audio playback. Full Topic
func (PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerSkipByIntervalCompletionHandler ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerSkipByIntervalCompletionHandler(pictureInPictureController PictureInPictureController, skipInterval coremedia.Time, completionHandler func())
Tells the delegate that the user has requested skipping forward or backward by the indicated time interval. Full Topic
func (PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerTimeRangeForPlayback ¶
func (p_ PictureInPictureSampleBufferPlaybackDelegateObject) PictureInPictureControllerTimeRangeForPlayback(pictureInPictureController PictureInPictureController) coremedia.TimeRange
Asks the delegate for the current playable time range. Full Topic
type PlayerView ¶
A view that displays content from a player and presents a native user interface to control playback. Full Topic
func NewPlayerView ¶
func NewPlayerView() PlayerView
func NewPlayerViewWithFrame ¶
func NewPlayerViewWithFrame(frameRect foundation.Rect) PlayerView
Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic
func PlayerViewFrom ¶
func PlayerViewFrom(ptr unsafe.Pointer) PlayerView
func (PlayerView) ActionPopUpButtonMenu ¶
func (p_ PlayerView) ActionPopUpButtonMenu() appkit.Menu
An action pop-up button menu that the player view displays. Full Topic
func (PlayerView) AllowsPictureInPicturePlayback ¶
func (p_ PlayerView) AllowsPictureInPicturePlayback() bool
A Boolean value that determines whether the player view allows Picture in Picture playback. Full Topic
func (PlayerView) BeginTrimmingWithCompletionHandler ¶
func (p_ PlayerView) BeginTrimmingWithCompletionHandler(handler func(result PlayerViewTrimResult))
Puts the player view into trimming mode. Full Topic
func (PlayerView) CanBeginTrimming ¶
func (p_ PlayerView) CanBeginTrimming() bool
A Boolean value that indicates whether the player view can begin trimming. Full Topic
func (PlayerView) ContentOverlayView ¶
func (p_ PlayerView) ContentOverlayView() appkit.View
A view that adds additional custom views between the video content and the controls. Full Topic
func (PlayerView) ControlsStyle ¶
func (p_ PlayerView) ControlsStyle() PlayerViewControlsStyle
The player view’s controls style. Full Topic
func (PlayerView) Delegate ¶
func (p_ PlayerView) Delegate() PlayerViewDelegateObject
The player view’s delegate object. Full Topic
func (PlayerView) FlashChapterNumberChapterTitle ¶
func (p_ PlayerView) FlashChapterNumberChapterTitle(chapterNumber uint, chapterTitle string)
Displays the chapter number and title in the player view for a brief moment. Full Topic
func (PlayerView) Init ¶
func (p_ PlayerView) Init() PlayerView
func (PlayerView) InitWithFrame ¶
func (p_ PlayerView) InitWithFrame(frameRect foundation.Rect) PlayerView
func (PlayerView) IsReadyForDisplay ¶
func (p_ PlayerView) IsReadyForDisplay() bool
A Boolean value that indicates whether the current player item’s first video frame is ready for display. Full Topic
func (PlayerView) PictureInPictureDelegate ¶
func (p_ PlayerView) PictureInPictureDelegate() PlayerViewPictureInPictureDelegateObject
The Picture in Picture delegate object. Full Topic
func (PlayerView) Player ¶
func (p_ PlayerView) Player() avfoundation.Player
The player instance that provides the media content for the view. Full Topic
func (PlayerView) SetActionPopUpButtonMenu ¶
func (p_ PlayerView) SetActionPopUpButtonMenu(value appkit.IMenu)
An action pop-up button menu that the player view displays. Full Topic
func (PlayerView) SetAllowsPictureInPicturePlayback ¶
func (p_ PlayerView) SetAllowsPictureInPicturePlayback(value bool)
A Boolean value that determines whether the player view allows Picture in Picture playback. Full Topic
func (PlayerView) SetControlsStyle ¶
func (p_ PlayerView) SetControlsStyle(value PlayerViewControlsStyle)
The player view’s controls style. Full Topic
func (PlayerView) SetDelegate ¶
func (p_ PlayerView) SetDelegate(value PPlayerViewDelegate)
The player view’s delegate object. Full Topic
func (PlayerView) SetDelegateObject ¶
func (p_ PlayerView) SetDelegateObject(valueObject objc.IObject)
The player view’s delegate object. Full Topic
func (PlayerView) SetPictureInPictureDelegate ¶
func (p_ PlayerView) SetPictureInPictureDelegate(value PPlayerViewPictureInPictureDelegate)
The Picture in Picture delegate object. Full Topic
func (PlayerView) SetPictureInPictureDelegateObject ¶
func (p_ PlayerView) SetPictureInPictureDelegateObject(valueObject objc.IObject)
The Picture in Picture delegate object. Full Topic
func (PlayerView) SetPlayer ¶
func (p_ PlayerView) SetPlayer(value avfoundation.IPlayer)
The player instance that provides the media content for the view. Full Topic
func (PlayerView) SetShowsFrameSteppingButtons ¶
func (p_ PlayerView) SetShowsFrameSteppingButtons(value bool)
A Boolean value that determines whether the player view displays frame stepping buttons. Full Topic
func (PlayerView) SetShowsFullScreenToggleButton ¶
func (p_ PlayerView) SetShowsFullScreenToggleButton(value bool)
A Boolean value that determines whether the player view displays a full-screen toggle button. Full Topic
func (PlayerView) SetShowsSharingServiceButton ¶
func (p_ PlayerView) SetShowsSharingServiceButton(value bool)
A Boolean value that determines whether the player view displays a sharing service button. Full Topic
func (PlayerView) SetShowsTimecodes ¶
func (p_ PlayerView) SetShowsTimecodes(value bool)
A Boolean value that determines whether the player view displays timecodes, if available. Full Topic
func (PlayerView) SetUpdatesNowPlayingInfoCenter ¶
func (p_ PlayerView) SetUpdatesNowPlayingInfoCenter(value bool)
A Boolean value that indicates whether the player view controller updates the Now Playing info center. Full Topic
func (PlayerView) SetVideoGravity ¶
func (p_ PlayerView) SetVideoGravity(value avfoundation.LayerVideoGravity)
A value that determines how the player view displays video content within its bounds. Full Topic
func (PlayerView) ShowsFrameSteppingButtons ¶
func (p_ PlayerView) ShowsFrameSteppingButtons() bool
A Boolean value that determines whether the player view displays frame stepping buttons. Full Topic
func (PlayerView) ShowsFullScreenToggleButton ¶
func (p_ PlayerView) ShowsFullScreenToggleButton() bool
A Boolean value that determines whether the player view displays a full-screen toggle button. Full Topic
func (PlayerView) ShowsSharingServiceButton ¶
func (p_ PlayerView) ShowsSharingServiceButton() bool
A Boolean value that determines whether the player view displays a sharing service button. Full Topic
func (PlayerView) ShowsTimecodes ¶
func (p_ PlayerView) ShowsTimecodes() bool
A Boolean value that determines whether the player view displays timecodes, if available. Full Topic
func (PlayerView) UpdatesNowPlayingInfoCenter ¶
func (p_ PlayerView) UpdatesNowPlayingInfoCenter() bool
A Boolean value that indicates whether the player view controller updates the Now Playing info center. Full Topic
func (PlayerView) VideoBounds ¶
func (p_ PlayerView) VideoBounds() foundation.Rect
The current size and position of the video image that displays within the player view’s bounds. Full Topic
func (PlayerView) VideoGravity ¶
func (p_ PlayerView) VideoGravity() avfoundation.LayerVideoGravity
A value that determines how the player view displays video content within its bounds. Full Topic
type PlayerViewControlsStyle ¶
type PlayerViewControlsStyle int
Constants that indicate which user interface controls the view displays. Full Topic
const ( PlayerViewControlsStyleDefault PlayerViewControlsStyle = 1 PlayerViewControlsStyleFloating PlayerViewControlsStyle = 2 PlayerViewControlsStyleInline PlayerViewControlsStyle = 1 PlayerViewControlsStyleMinimal PlayerViewControlsStyle = 3 PlayerViewControlsStyleNone PlayerViewControlsStyle = 0 )
type PlayerViewDelegate ¶
type PlayerViewDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PPlayerViewDelegate protocol.
func (*PlayerViewDelegate) HasPlayerViewDidEnterFullScreen ¶
func (di *PlayerViewDelegate) HasPlayerViewDidEnterFullScreen() bool
func (*PlayerViewDelegate) HasPlayerViewDidExitFullScreen ¶
func (di *PlayerViewDelegate) HasPlayerViewDidExitFullScreen() bool
func (*PlayerViewDelegate) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler ¶
func (di *PlayerViewDelegate) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler() bool
func (*PlayerViewDelegate) HasPlayerViewWillEnterFullScreen ¶
func (di *PlayerViewDelegate) HasPlayerViewWillEnterFullScreen() bool
func (*PlayerViewDelegate) HasPlayerViewWillExitFullScreen ¶
func (di *PlayerViewDelegate) HasPlayerViewWillExitFullScreen() bool
func (*PlayerViewDelegate) PlayerViewDidEnterFullScreen ¶
func (di *PlayerViewDelegate) PlayerViewDidEnterFullScreen(playerView PlayerView)
Tells the delegate that the player view entered full-screen mode. Full Topic
func (*PlayerViewDelegate) PlayerViewDidExitFullScreen ¶
func (di *PlayerViewDelegate) PlayerViewDidExitFullScreen(playerView PlayerView)
Tells the delegate that the player view exited full-screen mode. Full Topic
func (*PlayerViewDelegate) PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler ¶
func (di *PlayerViewDelegate) PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
Tells the delegate to restore the app’s user interface when exiting full-screen mode. Full Topic
func (*PlayerViewDelegate) PlayerViewWillEnterFullScreen ¶
func (di *PlayerViewDelegate) PlayerViewWillEnterFullScreen(playerView PlayerView)
Tells the delegate that the player view is about to enter full-screen mode. Full Topic
func (*PlayerViewDelegate) PlayerViewWillExitFullScreen ¶
func (di *PlayerViewDelegate) PlayerViewWillExitFullScreen(playerView PlayerView)
Tells the delegate that the player view is about to exit full-screen mode. Full Topic
func (*PlayerViewDelegate) SetPlayerViewDidEnterFullScreen ¶
func (di *PlayerViewDelegate) SetPlayerViewDidEnterFullScreen(f func(playerView PlayerView))
Tells the delegate that the player view entered full-screen mode. Full Topic
func (*PlayerViewDelegate) SetPlayerViewDidExitFullScreen ¶
func (di *PlayerViewDelegate) SetPlayerViewDidExitFullScreen(f func(playerView PlayerView))
Tells the delegate that the player view exited full-screen mode. Full Topic
func (*PlayerViewDelegate) SetPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler ¶
func (di *PlayerViewDelegate) SetPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(f func(playerView PlayerView, completionHandler func(restored bool)))
Tells the delegate to restore the app’s user interface when exiting full-screen mode. Full Topic
func (*PlayerViewDelegate) SetPlayerViewWillEnterFullScreen ¶
func (di *PlayerViewDelegate) SetPlayerViewWillEnterFullScreen(f func(playerView PlayerView))
Tells the delegate that the player view is about to enter full-screen mode. Full Topic
func (*PlayerViewDelegate) SetPlayerViewWillExitFullScreen ¶
func (di *PlayerViewDelegate) SetPlayerViewWillExitFullScreen(f func(playerView PlayerView))
Tells the delegate that the player view is about to exit full-screen mode. Full Topic
type PlayerViewDelegateObject ¶
A concrete type for the PPlayerViewDelegate protocol.
func (PlayerViewDelegateObject) HasPlayerViewDidEnterFullScreen ¶
func (p_ PlayerViewDelegateObject) HasPlayerViewDidEnterFullScreen() bool
func (PlayerViewDelegateObject) HasPlayerViewDidExitFullScreen ¶
func (p_ PlayerViewDelegateObject) HasPlayerViewDidExitFullScreen() bool
func (PlayerViewDelegateObject) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler ¶
func (p_ PlayerViewDelegateObject) HasPlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler() bool
func (PlayerViewDelegateObject) HasPlayerViewWillEnterFullScreen ¶
func (p_ PlayerViewDelegateObject) HasPlayerViewWillEnterFullScreen() bool
func (PlayerViewDelegateObject) HasPlayerViewWillExitFullScreen ¶
func (p_ PlayerViewDelegateObject) HasPlayerViewWillExitFullScreen() bool
func (PlayerViewDelegateObject) PlayerViewDidEnterFullScreen ¶
func (p_ PlayerViewDelegateObject) PlayerViewDidEnterFullScreen(playerView PlayerView)
Tells the delegate that the player view entered full-screen mode. Full Topic
func (PlayerViewDelegateObject) PlayerViewDidExitFullScreen ¶
func (p_ PlayerViewDelegateObject) PlayerViewDidExitFullScreen(playerView PlayerView)
Tells the delegate that the player view exited full-screen mode. Full Topic
func (PlayerViewDelegateObject) PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler ¶
func (p_ PlayerViewDelegateObject) PlayerViewRestoreUserInterfaceForFullScreenExitWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
Tells the delegate to restore the app’s user interface when exiting full-screen mode. Full Topic
func (PlayerViewDelegateObject) PlayerViewWillEnterFullScreen ¶
func (p_ PlayerViewDelegateObject) PlayerViewWillEnterFullScreen(playerView PlayerView)
Tells the delegate that the player view is about to enter full-screen mode. Full Topic
func (PlayerViewDelegateObject) PlayerViewWillExitFullScreen ¶
func (p_ PlayerViewDelegateObject) PlayerViewWillExitFullScreen(playerView PlayerView)
Tells the delegate that the player view is about to exit full-screen mode. Full Topic
type PlayerViewPictureInPictureDelegate ¶
type PlayerViewPictureInPictureDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PPlayerViewPictureInPictureDelegate protocol.
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewDidStartPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewDidStartPictureInPicture() bool
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewDidStopPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewDidStopPictureInPicture() bool
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewFailedToStartPictureInPictureWithError ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewFailedToStartPictureInPictureWithError() bool
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart() bool
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewWillStartPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewWillStartPictureInPicture() bool
func (*PlayerViewPictureInPictureDelegate) HasPlayerViewWillStopPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) HasPlayerViewWillStopPictureInPicture() bool
func (*PlayerViewPictureInPictureDelegate) PlayerViewDidStartPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewDidStartPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback started. Full Topic
func (*PlayerViewPictureInPictureDelegate) PlayerViewDidStopPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewDidStopPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback stopped. Full Topic
func (*PlayerViewPictureInPictureDelegate) PlayerViewFailedToStartPictureInPictureWithError ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewFailedToStartPictureInPictureWithError(playerView PlayerView, error foundation.Error)
Tells the delegate that Picture in Picture playback failed to start. Full Topic
func (*PlayerViewPictureInPictureDelegate) PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
Tells the delegate to restore the user interface before Picture in Picture playback stops. Full Topic
func (*PlayerViewPictureInPictureDelegate) PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(playerView PlayerView) bool
Asks the delegate if the player view should miniaturize when Picture in Picture starts. Full Topic
func (*PlayerViewPictureInPictureDelegate) PlayerViewWillStartPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewWillStartPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback is about to start. Full Topic
func (*PlayerViewPictureInPictureDelegate) PlayerViewWillStopPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) PlayerViewWillStopPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback is about to stop. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewDidStartPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewDidStartPictureInPicture(f func(playerView PlayerView))
Tells the delegate that Picture in Picture playback started. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewDidStopPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewDidStopPictureInPicture(f func(playerView PlayerView))
Tells the delegate that Picture in Picture playback stopped. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewFailedToStartPictureInPictureWithError ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewFailedToStartPictureInPictureWithError(f func(playerView PlayerView, error foundation.Error))
Tells the delegate that Picture in Picture playback failed to start. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(f func(playerView PlayerView, completionHandler func(restored bool)))
Tells the delegate to restore the user interface before Picture in Picture playback stops. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(f func(playerView PlayerView) bool)
Asks the delegate if the player view should miniaturize when Picture in Picture starts. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewWillStartPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewWillStartPictureInPicture(f func(playerView PlayerView))
Tells the delegate that Picture in Picture playback is about to start. Full Topic
func (*PlayerViewPictureInPictureDelegate) SetPlayerViewWillStopPictureInPicture ¶
func (di *PlayerViewPictureInPictureDelegate) SetPlayerViewWillStopPictureInPicture(f func(playerView PlayerView))
Tells the delegate that Picture in Picture playback is about to stop. Full Topic
type PlayerViewPictureInPictureDelegateObject ¶
A concrete type for the PPlayerViewPictureInPictureDelegate protocol.
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewDidStartPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewDidStartPictureInPicture() bool
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewDidStopPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewDidStopPictureInPicture() bool
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewFailedToStartPictureInPictureWithError ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewFailedToStartPictureInPictureWithError() bool
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler() bool
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewShouldAutomaticallyDismissAtPictureInPictureStart() bool
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewWillStartPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewWillStartPictureInPicture() bool
func (PlayerViewPictureInPictureDelegateObject) HasPlayerViewWillStopPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) HasPlayerViewWillStopPictureInPicture() bool
func (PlayerViewPictureInPictureDelegateObject) PlayerViewDidStartPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewDidStartPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback started. Full Topic
func (PlayerViewPictureInPictureDelegateObject) PlayerViewDidStopPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewDidStopPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback stopped. Full Topic
func (PlayerViewPictureInPictureDelegateObject) PlayerViewFailedToStartPictureInPictureWithError ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewFailedToStartPictureInPictureWithError(playerView PlayerView, error foundation.Error)
Tells the delegate that Picture in Picture playback failed to start. Full Topic
func (PlayerViewPictureInPictureDelegateObject) PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler(playerView PlayerView, completionHandler func(restored bool))
Tells the delegate to restore the user interface before Picture in Picture playback stops. Full Topic
func (PlayerViewPictureInPictureDelegateObject) PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewShouldAutomaticallyDismissAtPictureInPictureStart(playerView PlayerView) bool
Asks the delegate if the player view should miniaturize when Picture in Picture starts. Full Topic
func (PlayerViewPictureInPictureDelegateObject) PlayerViewWillStartPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewWillStartPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback is about to start. Full Topic
func (PlayerViewPictureInPictureDelegateObject) PlayerViewWillStopPictureInPicture ¶
func (p_ PlayerViewPictureInPictureDelegateObject) PlayerViewWillStopPictureInPicture(playerView PlayerView)
Tells the delegate that Picture in Picture playback is about to stop. Full Topic
type PlayerViewTrimResult ¶
type PlayerViewTrimResult int
Constants that specify an action a user takes when trimming media in a player view. Full Topic
const ( PlayerViewTrimCancelButton PlayerViewTrimResult = 1 PlayerViewTrimOKButton PlayerViewTrimResult = 0 )
type RoutePickerView ¶
A view that presents a list of nearby media receivers. Full Topic
func NewRoutePickerView ¶
func NewRoutePickerView() RoutePickerView
func NewRoutePickerViewWithFrame ¶
func NewRoutePickerViewWithFrame(frameRect foundation.Rect) RoutePickerView
Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic
func RoutePickerViewFrom ¶
func RoutePickerViewFrom(ptr unsafe.Pointer) RoutePickerView
func (RoutePickerView) Delegate ¶
func (r_ RoutePickerView) Delegate() RoutePickerViewDelegateObject
The delegate object for the route picker. Full Topic
func (RoutePickerView) Init ¶
func (r_ RoutePickerView) Init() RoutePickerView
func (RoutePickerView) InitWithFrame ¶
func (r_ RoutePickerView) InitWithFrame(frameRect foundation.Rect) RoutePickerView
func (RoutePickerView) IsRoutePickerButtonBordered ¶
func (r_ RoutePickerView) IsRoutePickerButtonBordered() bool
A Boolean value that indicates whether the route picker button has a border. Full Topic
func (RoutePickerView) Player ¶
func (r_ RoutePickerView) Player() avfoundation.Player
The player object to perform routing operations for. Full Topic
func (RoutePickerView) RoutePickerButtonColorForState ¶
func (r_ RoutePickerView) RoutePickerButtonColorForState(state RoutePickerViewButtonState) appkit.Color
Returns the color of the picker button for the specified state. Full Topic
func (RoutePickerView) SetDelegate ¶
func (r_ RoutePickerView) SetDelegate(value PRoutePickerViewDelegate)
The delegate object for the route picker. Full Topic
func (RoutePickerView) SetDelegateObject ¶
func (r_ RoutePickerView) SetDelegateObject(valueObject objc.IObject)
The delegate object for the route picker. Full Topic
func (RoutePickerView) SetPlayer ¶
func (r_ RoutePickerView) SetPlayer(value avfoundation.IPlayer)
The player object to perform routing operations for. Full Topic
func (RoutePickerView) SetRoutePickerButtonBordered ¶
func (r_ RoutePickerView) SetRoutePickerButtonBordered(value bool)
A Boolean value that indicates whether the route picker button has a border. Full Topic
func (RoutePickerView) SetRoutePickerButtonColorForState ¶
func (r_ RoutePickerView) SetRoutePickerButtonColorForState(color appkit.IColor, state RoutePickerViewButtonState)
Sets the route picker button color for the specified state. Full Topic
type RoutePickerViewButtonState ¶
type RoutePickerViewButtonState int
Constants that describe the available button states. Full Topic
const ( RoutePickerViewButtonStateActive RoutePickerViewButtonState = 2 RoutePickerViewButtonStateActiveHighlighted RoutePickerViewButtonState = 3 RoutePickerViewButtonStateNormal RoutePickerViewButtonState = 0 RoutePickerViewButtonStateNormalHighlighted RoutePickerViewButtonState = 1 )
type RoutePickerViewDelegate ¶
type RoutePickerViewDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PRoutePickerViewDelegate protocol.
func (*RoutePickerViewDelegate) HasRoutePickerViewDidEndPresentingRoutes ¶
func (di *RoutePickerViewDelegate) HasRoutePickerViewDidEndPresentingRoutes() bool
func (*RoutePickerViewDelegate) HasRoutePickerViewWillBeginPresentingRoutes ¶
func (di *RoutePickerViewDelegate) HasRoutePickerViewWillBeginPresentingRoutes() bool
func (*RoutePickerViewDelegate) RoutePickerViewDidEndPresentingRoutes ¶
func (di *RoutePickerViewDelegate) RoutePickerViewDidEndPresentingRoutes(routePickerView RoutePickerView)
Tells the delegate when the route picker view finishes presenting routes to the user. Full Topic
func (*RoutePickerViewDelegate) RoutePickerViewWillBeginPresentingRoutes ¶
func (di *RoutePickerViewDelegate) RoutePickerViewWillBeginPresentingRoutes(routePickerView RoutePickerView)
Tells the delegate that the route picker view is about to begin presenting routes to the user. Full Topic
func (*RoutePickerViewDelegate) SetRoutePickerViewDidEndPresentingRoutes ¶
func (di *RoutePickerViewDelegate) SetRoutePickerViewDidEndPresentingRoutes(f func(routePickerView RoutePickerView))
Tells the delegate when the route picker view finishes presenting routes to the user. Full Topic
func (*RoutePickerViewDelegate) SetRoutePickerViewWillBeginPresentingRoutes ¶
func (di *RoutePickerViewDelegate) SetRoutePickerViewWillBeginPresentingRoutes(f func(routePickerView RoutePickerView))
Tells the delegate that the route picker view is about to begin presenting routes to the user. Full Topic
type RoutePickerViewDelegateObject ¶
A concrete type for the PRoutePickerViewDelegate protocol.
func (RoutePickerViewDelegateObject) HasRoutePickerViewDidEndPresentingRoutes ¶
func (r_ RoutePickerViewDelegateObject) HasRoutePickerViewDidEndPresentingRoutes() bool
func (RoutePickerViewDelegateObject) HasRoutePickerViewWillBeginPresentingRoutes ¶
func (r_ RoutePickerViewDelegateObject) HasRoutePickerViewWillBeginPresentingRoutes() bool
func (RoutePickerViewDelegateObject) RoutePickerViewDidEndPresentingRoutes ¶
func (r_ RoutePickerViewDelegateObject) RoutePickerViewDidEndPresentingRoutes(routePickerView RoutePickerView)
Tells the delegate when the route picker view finishes presenting routes to the user. Full Topic
func (RoutePickerViewDelegateObject) RoutePickerViewWillBeginPresentingRoutes ¶
func (r_ RoutePickerViewDelegateObject) RoutePickerViewWillBeginPresentingRoutes(routePickerView RoutePickerView)
Tells the delegate that the route picker view is about to begin presenting routes to the user. Full Topic
Source Files ¶
- avkit.go
- capture_view.gen.go
- capture_view_delegate.gen.go
- doc.gen.go
- enumtypes.gen.go
- picture_in_picture_controller.gen.go
- picture_in_picture_controller_content_source.gen.go
- picture_in_picture_controller_delegate.gen.go
- picture_in_picture_sample_buffer_playback_delegate.gen.go
- player_view.gen.go
- player_view_delegate.gen.go
- player_view_picture_in_picture_delegate.gen.go
- route_picker_view.gen.go
- route_picker_view_delegate.gen.go