Table of Contents

Class SegmentHandle

Namespace
Gst.Internal
Assembly
Gst-1.0.dll
public abstract class SegmentHandle : SafeHandle, IDisposable, IEquatable<SegmentHandle>
Inheritance
SegmentHandle
Implements
Derived
Inherited Members

Constructors

SegmentHandle(bool)

protected SegmentHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(SegmentHandle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SegmentHandle? other)

Parameters

other SegmentHandle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetAppliedRate()

public double GetAppliedRate()

Returns

double

GetBase()

public ulong GetBase()

Returns

ulong

GetDuration()

public ulong GetDuration()

Returns

ulong

GetFlags()

public SegmentFlags GetFlags()

Returns

SegmentFlags

GetFormat()

public Format GetFormat()

Returns

Format

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetOffset()

public ulong GetOffset()

Returns

ulong

GetPosition()

public ulong GetPosition()

Returns

ulong

GetRate()

public double GetRate()

Returns

double

GetStart()

public ulong GetStart()

Returns

ulong

GetStop()

public ulong GetStop()

Returns

ulong

GetTime()

public ulong GetTime()

Returns

ulong

OwnedCopy()

public SegmentOwnedHandle OwnedCopy()

Returns

SegmentOwnedHandle

SetAppliedRate(double)

public void SetAppliedRate(double value)

Parameters

value double

SetBase(ulong)

public void SetBase(ulong value)

Parameters

value ulong

SetDuration(ulong)

public void SetDuration(ulong value)

Parameters

value ulong

SetFlags(SegmentFlags)

public void SetFlags(SegmentFlags value)

Parameters

value SegmentFlags

SetFormat(Format)

public void SetFormat(Format value)

Parameters

value Format

SetOffset(ulong)

public void SetOffset(ulong value)

Parameters

value ulong

SetPosition(ulong)

public void SetPosition(ulong value)

Parameters

value ulong

SetRate(double)

public void SetRate(double value)

Parameters

value double

SetStart(ulong)

public void SetStart(ulong value)

Parameters

value ulong

SetStop(ulong)

public void SetStop(ulong value)

Parameters

value ulong

SetTime(ulong)

public void SetTime(ulong value)

Parameters

value ulong

UnownedCopy()

public SegmentUnownedHandle UnownedCopy()

Returns

SegmentUnownedHandle