Class Stream
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class Stream : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Stream
- Implements
- Inherited Members
Constructors
Stream(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 Stream(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Stream(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Stream(CreationData data)
Parameters
dataCreationData
Stream(StreamHandle)
protected Stream(StreamHandle handle)
Parameters
handleStreamHandle
Fields
CapsPropertyDefinition
public static readonly Property<Caps, Stream> CapsPropertyDefinition
Field Value
StreamFlagsPropertyDefinition
public static readonly Property<StreamFlags, Stream> StreamFlagsPropertyDefinition
Field Value
StreamIdPropertyDefinition
public static readonly Property<string?, Stream> StreamIdPropertyDefinition
Field Value
StreamTypePropertyDefinition
public static readonly Property<StreamType, Stream> StreamTypePropertyDefinition
Field Value
TagsPropertyDefinition
public static readonly Property<TagList, Stream> TagsPropertyDefinition
Field Value
Properties
Caps
public Caps Caps { get; set; }
Property Value
StreamFlags
public StreamFlags StreamFlags { get; set; }
Property Value
StreamId
public string? StreamId { get; }
Property Value
StreamType
public StreamType StreamType { get; set; }
Property Value
Tags
public TagList Tags { get; set; }
Property Value
Methods
GetCaps()
[Version("1.10")]
public Caps? GetCaps()
Returns
GetGType()
public static Type GetGType()
Returns
GetStreamFlags()
[Version("1.10")]
public StreamFlags GetStreamFlags()
Returns
GetStreamId()
[Version("1.10")]
public string? GetStreamId()
Returns
GetStreamType()
[Version("1.10")]
public StreamType GetStreamType()
Returns
GetTags()
[Version("1.10")]
public TagList? GetTags()
Returns
New(string?, Caps?, StreamType, StreamFlags)
[Version("1.10")]
public static Stream New(string? streamId, Caps? caps, StreamType type, StreamFlags flags)
Parameters
streamIdstringcapsCapstypeStreamTypeflagsStreamFlags
Returns
NewFromPointer(nint, bool)
Creates a new managed Stream instance for a given pointer.
public static Stream NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Stream and sets the properties specified by the construct arguments.
public static Stream NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetCaps(Caps?)
[Version("1.10")]
public void SetCaps(Caps? caps)
Parameters
capsCaps
SetStreamFlags(StreamFlags)
[Version("1.10")]
public void SetStreamFlags(StreamFlags flags)
Parameters
flagsStreamFlags
SetStreamType(StreamType)
[Version("1.10")]
public void SetStreamType(StreamType streamType)
Parameters
streamTypeStreamType
SetTags(TagList?)
[Version("1.10")]
public void SetTags(TagList? tags)
Parameters
tagsTagList