One Logo Pool Ball
CoreVideo · IOS API REFERENCE

CVTime

struct · SDK 27.1

struct CVTime

Members (13)

get

flags

TypeScript
get flags(): number
Swift declaration
var flags: Int32
set

flags

TypeScript
set flags(value: number)
Swift declaration
var flags: Int32
get

timeScale

TypeScript
get timeScale(): number
Swift declaration
var timeScale: Int32
set

timeScale

TypeScript
set timeScale(value: number)
Swift declaration
var timeScale: Int32
get

timeValue

TypeScript
get timeValue(): number
Swift declaration
var timeValue: Int64
set

timeValue

TypeScript
set timeValue(value: number)
Swift declaration
var timeValue: Int64
get · iOS 4.0+

indefinite

TypeScript
static get indefinite(): CVTime
Swift declaration
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
static var indefinite: CVTime { get }

CVTime with indefinite value

get · iOS 4.0+

flagOptions

TypeScript
get flagOptions(): CVTimeFlags
Swift declaration
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
var flagOptions: CVTimeFlags { get set }

`CVTimeFlags` representation of `CVTime.flags`

set · iOS 4.0+

flagOptions

TypeScript
set flagOptions(value: CVTimeFlags)
Swift declaration
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
var flagOptions: CVTimeFlags { get set }

`CVTimeFlags` representation of `CVTime.flags`

get · iOS 4.0+

zero

TypeScript
static get zero(): CVTime
Swift declaration
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
static var zero: CVTime { get }

CVTime with 0 value

init · iOS 4.0+

init

TypeScript
static initTimeValueTimeScale(timeValue: number, timeScale: number): CVTime
Swift declaration
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
init(timeValue: Int64, timeScale: Int32)

Initialize a valid CVTime value. Note: When `timeValue` has nonzero value, `timeScale` must be greater than 0.

init

init

TypeScript
static initTimeValueTimeScaleFlags(timeValue: number, timeScale: number, flags: number): CVTime
Swift declaration
init(timeValue: Int64, timeScale: Int32, flags: Int32)
init

init

TypeScript
static init(): CVTime
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All CoreVideo types →