Table of Contents

Class StreamCollection

Namespace
Gst
Assembly
Gst-1.0.dll
public class StreamCollection : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
StreamCollection
Implements
Inherited Members

Constructors

StreamCollection(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public StreamCollection(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

StreamCollection(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected StreamCollection(CreationData data)

Parameters

data CreationData

StreamCollection(StreamCollectionHandle)

protected StreamCollection(StreamCollectionHandle handle)

Parameters

handle StreamCollectionHandle

Fields

StreamNotifySignal

Signal Descriptor for OnStreamNotify.

public static readonly Signal<StreamCollection, StreamCollection.StreamNotifySignalArgs> StreamNotifySignal

Field Value

Signal<StreamCollection, StreamCollection.StreamNotifySignalArgs>

UpstreamIdPropertyDefinition

public static readonly Property<string?, StreamCollection> UpstreamIdPropertyDefinition

Field Value

Property<string, StreamCollection>

Properties

UpstreamId

public string? UpstreamId { get; set; }

Property Value

string

Methods

AddStream(Stream)

[Version("1.10")]
public bool AddStream(Stream stream)

Parameters

stream Stream

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetSize()

[Version("1.10")]
public uint GetSize()

Returns

uint

GetStream(uint)

[Version("1.10")]
public Stream? GetStream(uint index)

Parameters

index uint

Returns

Stream

GetUpstreamId()

[Version("1.10")]
public string? GetUpstreamId()

Returns

string

New(string?)

[Version("1.10")]
public static StreamCollection New(string? upstreamId)

Parameters

upstreamId string

Returns

StreamCollection

NewFromPointer(nint, bool)

Creates a new managed StreamCollection instance for a given pointer.

public static StreamCollection NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

StreamCollection

NewWithProperties(ConstructArgument[])

Creates a new StreamCollection and sets the properties specified by the construct arguments.

public static StreamCollection NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

StreamCollection

Events

OnStreamNotify

public event SignalHandler<StreamCollection, StreamCollection.StreamNotifySignalArgs> OnStreamNotify

Event Type

SignalHandler<StreamCollection, StreamCollection.StreamNotifySignalArgs>