avcore

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AVAsset

type AVAsset struct {
	core.NSObject
}

func (AVAsset) URL

func (i AVAsset) URL() (url core.NSURL)

type AVPlayer

type AVPlayer struct {
	core.NSObject
}

func AVPlayer_alloc

func AVPlayer_alloc() AVPlayer

func (AVPlayer) CurrentItem

func (p AVPlayer) CurrentItem() (item AVPlayerItem)

func (AVPlayer) CurrentTime

func (p AVPlayer) CurrentTime() (time CMTime)

func (AVPlayer) Init

func (p AVPlayer) Init() AVPlayer

func (AVPlayer) InitWithPlayerItem

func (p AVPlayer) InitWithPlayerItem(item AVPlayerItem) AVPlayer

func (AVPlayer) Pause

func (p AVPlayer) Pause()

func (AVPlayer) Play

func (p AVPlayer) Play()

func (AVPlayer) ReplaceCurrentItemWithPlayerItem

func (p AVPlayer) ReplaceCurrentItemWithPlayerItem(item AVPlayerItem)

func (AVPlayer) SeekToTime

func (p AVPlayer) SeekToTime(time CMTime)

func (AVPlayer) SetActionAtItemEnd

func (p AVPlayer) SetActionAtItemEnd(value core.NSInteger)

func (AVPlayer) SetVolume

func (p AVPlayer) SetVolume(value float32)

type AVPlayerItem

type AVPlayerItem struct {
	core.NSObject
}

func AVPlayerItem_playerItemWithURL

func AVPlayerItem_playerItemWithURL(url core.NSURL) AVPlayerItem

func (AVPlayerItem) Asset

func (i AVPlayerItem) Asset() (asset AVAsset)

func (AVPlayerItem) Duration

func (i AVPlayerItem) Duration() (time CMTime)

type CMTime

type CMTime struct {
	Value     int64
	Timescale int32
	Flags     uint32
	Epoch     int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL