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
constructArgumentsConstructArgument[]
StreamCollection(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected StreamCollection(CreationData data)
Parameters
dataCreationData
StreamCollection(StreamCollectionHandle)
protected StreamCollection(StreamCollectionHandle handle)
Parameters
handleStreamCollectionHandle
Fields
StreamNotifySignal
Signal Descriptor for OnStreamNotify.
public static readonly Signal<StreamCollection, StreamCollection.StreamNotifySignalArgs> StreamNotifySignal
Field Value
UpstreamIdPropertyDefinition
public static readonly Property<string?, StreamCollection> UpstreamIdPropertyDefinition
Field Value
Properties
UpstreamId
public string? UpstreamId { get; set; }
Property Value
Methods
AddStream(Stream)
[Version("1.10")]
public bool AddStream(Stream stream)
Parameters
streamStream
Returns
GetGType()
public static Type GetGType()
Returns
GetSize()
[Version("1.10")]
public uint GetSize()
Returns
GetStream(uint)
[Version("1.10")]
public Stream? GetStream(uint index)
Parameters
indexuint
Returns
GetUpstreamId()
[Version("1.10")]
public string? GetUpstreamId()
Returns
New(string?)
[Version("1.10")]
public static StreamCollection New(string? upstreamId)
Parameters
upstreamIdstring
Returns
NewFromPointer(nint, bool)
Creates a new managed StreamCollection instance for a given pointer.
public static StreamCollection NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new StreamCollection and sets the properties specified by the construct arguments.
public static StreamCollection NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnStreamNotify
public event SignalHandler<StreamCollection, StreamCollection.StreamNotifySignalArgs> OnStreamNotify