Table of Contents

Class Sample

Namespace
Gst
Assembly
Gst-1.0.dll
public sealed class Sample : BoxedRecord, IEquatable<Sample>
Inheritance
Sample
Implements
Inherited Members

Constructors

Sample(SampleOwnedHandle)

public Sample(SampleOwnedHandle handle)

Parameters

handle SampleOwnedHandle

Properties

Handle

public SampleOwnedHandle Handle { get; }

Property Value

SampleOwnedHandle

Methods

Equals(Sample?)

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

public bool Equals(Sample? other)

Parameters

other Sample

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.

GetBuffer()

public Buffer? GetBuffer()

Returns

Buffer

GetBufferList()

[Version("1.6")]
public BufferList? GetBufferList()

Returns

BufferList

GetCaps()

public Caps? GetCaps()

Returns

Caps

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInfo()

public Structure? GetInfo()

Returns

Structure

GetSegment()

public Segment GetSegment()

Returns

Segment

New(Buffer?, Caps?, Segment?, Structure?)

public static Sample New(Buffer? buffer, Caps? caps, Segment? segment, Structure? info)

Parameters

buffer Buffer
caps Caps
segment Segment
info Structure

Returns

Sample

SetBuffer(Buffer)

[Version("1.16")]
public void SetBuffer(Buffer buffer)

Parameters

buffer Buffer

SetBufferList(BufferList)

[Version("1.6")]
public void SetBufferList(BufferList bufferList)

Parameters

bufferList BufferList

SetCaps(Caps)

[Version("1.16")]
public void SetCaps(Caps caps)

Parameters

caps Caps

SetInfo(Structure)

[Version("1.16")]
public bool SetInfo(Structure info)

Parameters

info Structure

Returns

bool

SetSegment(Segment)

[Version("1.16")]
public void SetSegment(Segment segment)

Parameters

segment Segment