rangeInSeconds
TypeScriptget rangeInSeconds(): SDKHandleSwift declarationvar rangeInSeconds: Range<TimeInterval> { get }The time range in seconds.
struct · iOS 16.0+ · SDK 27.1
struct TemporalSegmentIdentifierUniquely identifiers a segment of a temporal sequence.
get rangeInSeconds(): SDKHandleSwift declarationvar rangeInSeconds: Range<TimeInterval> { get }The time range in seconds.
get durationInSeconds(): numberSwift declarationvar durationInSeconds: TimeInterval { get }The segment duration in seconds.
get range(): SDKHandleSwift declarationvar range: Range<Int>The segment's timestamp range. To get a timestamp in seconds divide the value by the timescale.
set range(value: SDKHandle)Swift declarationvar range: Range<Int>The segment's timestamp range. To get a timestamp in seconds divide the value by the timescale.
static init(source: string, range: SDKHandle, timescale: number): TemporalSegmentIdentifierSwift declarationinit(source: String, range: Range<Int>, timescale: Int)Creates a temporal-segment identifier. - Parameters: - source: A unique source description. - range: A timestamp range. - timescale: The number of uniquely identifiable timestamps in a second.
get source(): stringSwift declarationvar source: StringThe segment source. For files use the full path or URL of the file.
set source(value: string)Swift declarationvar source: StringThe segment source. For files use the full path or URL of the file.
get timescale(): numberSwift declarationvar timescale: IntThe identifier's timescale is the number of uniquely identifiable timestamps in a second. For example an audio file sampled at 44,100 Hz should have a timescale value of 44,100 (or an integer multiple of that) so that every sample has a unique timestamp.
set timescale(value: number)Swift declarationvar timescale: IntThe identifier's timescale is the number of uniquely identifiable timestamps in a second. For example an audio file sampled at 44,100 Hz should have a timescale value of 44,100 (or an integer multiple of that) so that every sample has a unique timestamp.
No declarations were skipped in this snapshot.