Share via


AVCaptureTimecode Struct

Definition

Represents a timecode structure adhering to SMPTE standards for precise time information and synchronization.

public struct AVCaptureTimecode : IEquatable<AVFoundation.AVCaptureTimecode>
type AVCaptureTimecode = struct
Inheritance
AVCaptureTimecode
Implements

Remarks

This structure corresponds to the SMPTE 12M-1 Linear Timecode (LTC) format.

Constructors

Name Description
AVCaptureTimecode(Byte, Byte, Byte, Byte, UInt32, CMTime, AVCaptureTimecodeSourceType)

Initializes a new instance of the AVCaptureTimecode structure.

Properties

Name Description
FrameDuration

Gets or sets the frame duration of the timecode.

Frames

Gets or sets the frame component of the timecode.

Hours

Gets or sets the hour component of the timecode.

Minutes

Gets or sets the minute component of the timecode.

Seconds

Gets or sets the second component of the timecode.

SourceType

Gets or sets the source type of the timecode.

UserBits

Gets or sets the SMPTE user bits field.

Methods

Name Description
AddFrames(Int64)

Generates a new timecode by adding a specified number of frames to this timecode.

CreateMetadataSampleBufferAssociatedWithPresentationTimeStamp(CMTime)

Creates a sample buffer containing timecode metadata associated with a presentation timestamp.

CreateMetadataSampleBufferForDuration(CMTime)

Creates a sample buffer containing timecode metadata for a specified duration.

Equals(AVCaptureTimecode)

Determines whether this timecode is equal to another timecode.

Equals(Object)

Determines whether this timecode is equal to the specified object.

GetHashCode()

Returns the hash code for this timecode.

Operators

Name Description
Equality(AVCaptureTimecode, AVCaptureTimecode)

Determines whether two timecode instances are equal.

Inequality(AVCaptureTimecode, AVCaptureTimecode)

Determines whether two timecode instances are not equal.

Applies to