Class Sample
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Sample : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Sample>, IDisposable
- Inheritance
-
Sample
- Implements
- Inherited Members
Constructors
Sample(SampleOwnedHandle)
public Sample(SampleOwnedHandle handle)
Parameters
handleSampleOwnedHandle
Properties
Handle
public SampleOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Sample?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Sample? other)
Parameters
otherSampleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetBuffer()
public Buffer? GetBuffer()
Returns
GetBufferList()
[Version("1.6")]
public BufferList? GetBufferList()
Returns
GetCaps()
public Caps? GetCaps()
Returns
GetGType()
public static Type GetGType()
Returns
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
GetSegment()
public Segment GetSegment()
Returns
New(Buffer?, Caps?, Segment?, Structure?)
public static Sample New(Buffer? buffer, Caps? caps, Segment? segment, Structure? info)
Parameters
Returns
SetBuffer(Buffer)
[Version("1.16")]
public void SetBuffer(Buffer buffer)
Parameters
bufferBuffer
SetBufferList(BufferList)
[Version("1.6")]
public void SetBufferList(BufferList bufferList)
Parameters
bufferListBufferList
SetCaps(Caps)
[Version("1.16")]
public void SetCaps(Caps caps)
Parameters
capsCaps
SetInfo(Structure)
[Version("1.16")]
public bool SetInfo(Structure info)
Parameters
infoStructure
Returns
SetSegment(Segment)
[Version("1.16")]
public void SetSegment(Segment segment)
Parameters
segmentSegment