Class Event
public class Event
- Inheritance
-
Event
- Inherited Members
Methods
CopySegment(EventHandle, SegmentHandle)
Calls native method gst_event_copy_segment.
public static extern void CopySegment(EventHandle @event, SegmentHandle segment)
Parameters
event
EventHandlesegment
SegmentHandleTransfer ownership: None Nullable: False
GetGType()
Calls native function gst_event_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetRunningTimeOffset(EventHandle)
Calls native method gst_event_get_running_time_offset. Version: 1.4
[Version("1.4")]
public static extern long GetRunningTimeOffset(EventHandle @event)
Parameters
event
EventHandle
Returns
- long
Transfer ownership: None Nullable: False
GetSeqnum(EventHandle)
Calls native method gst_event_get_seqnum.
public static extern uint GetSeqnum(EventHandle @event)
Parameters
event
EventHandle
Returns
- uint
Transfer ownership: None Nullable: False
GetStructure(EventHandle)
Calls native method gst_event_get_structure.
public static extern StructureUnownedHandle GetStructure(EventHandle @event)
Parameters
event
EventHandle
Returns
- StructureUnownedHandle
Transfer ownership: None Nullable: True
HasName(EventHandle, NonNullableUtf8StringHandle)
Calls native method gst_event_has_name.
public static extern bool HasName(EventHandle @event, NonNullableUtf8StringHandle name)
Parameters
event
EventHandlename
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
HasNameId(EventHandle, Quark)
Calls native method gst_event_has_name_id. Version: 1.18
[Version("1.18")]
public static extern bool HasNameId(EventHandle @event, Quark name)
Parameters
event
EventHandlename
QuarkTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
NewBufferSize(Format, long, long, bool)
Calls native constructor gst_event_new_buffer_size.
public static extern EventOwnedHandle NewBufferSize(Format format, long minsize, long maxsize, bool async)
Parameters
format
FormatTransfer ownership: None Nullable: False
minsize
longTransfer ownership: None Nullable: False
maxsize
longTransfer ownership: None Nullable: False
async
boolTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewCaps(CapsHandle)
Calls native constructor gst_event_new_caps.
public static extern EventOwnedHandle NewCaps(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewCustom(EventType, StructureUnownedHandle)
Calls native constructor gst_event_new_custom.
public static extern EventOwnedHandle NewCustom(EventType type, StructureUnownedHandle structure)
Parameters
type
EventTypeTransfer ownership: None Nullable: False
structure
StructureUnownedHandleTransfer ownership: Full Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewEos()
Calls native constructor gst_event_new_eos.
public static extern EventOwnedHandle NewEos()
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewFlushStart()
Calls native constructor gst_event_new_flush_start.
public static extern EventOwnedHandle NewFlushStart()
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewFlushStop(bool)
Calls native constructor gst_event_new_flush_stop.
public static extern EventOwnedHandle NewFlushStop(bool resetTime)
Parameters
resetTime
boolTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewGap(ClockTime, ClockTime)
Calls native constructor gst_event_new_gap.
public static extern EventOwnedHandle NewGap(ClockTime timestamp, ClockTime duration)
Parameters
timestamp
ClockTimeTransfer ownership: None Nullable: False
duration
ClockTimeTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewInstantRateChange(double, SegmentFlags)
Calls native constructor gst_event_new_instant_rate_change. Version: 1.18
[Version("1.18")]
public static extern EventOwnedHandle NewInstantRateChange(double rateMultiplier, SegmentFlags newFlags)
Parameters
rateMultiplier
doubleTransfer ownership: None Nullable: False
newFlags
SegmentFlagsTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewInstantRateSyncTime(double, ClockTime, ClockTime)
Calls native constructor gst_event_new_instant_rate_sync_time. Version: 1.18
[Version("1.18")]
public static extern EventOwnedHandle NewInstantRateSyncTime(double rateMultiplier, ClockTime runningTime, ClockTime upstreamRunningTime)
Parameters
rateMultiplier
doubleTransfer ownership: None Nullable: False
runningTime
ClockTimeTransfer ownership: None Nullable: False
upstreamRunningTime
ClockTimeTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewLatency(ClockTime)
Calls native constructor gst_event_new_latency.
public static extern EventOwnedHandle NewLatency(ClockTime latency)
Parameters
latency
ClockTimeTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewNavigation(StructureUnownedHandle)
Calls native constructor gst_event_new_navigation.
public static extern EventOwnedHandle NewNavigation(StructureUnownedHandle structure)
Parameters
structure
StructureUnownedHandleTransfer ownership: Full Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewProtection(NonNullableUtf8StringHandle, BufferHandle, NonNullableUtf8StringHandle)
Calls native constructor gst_event_new_protection. Version: 1.6
[Version("1.6")]
public static extern EventOwnedHandle NewProtection(NonNullableUtf8StringHandle systemId, BufferHandle data, NonNullableUtf8StringHandle origin)
Parameters
systemId
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
data
BufferHandleTransfer ownership: None Nullable: False
origin
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewQos(QOSType, double, ClockTimeDiff, ClockTime)
Calls native constructor gst_event_new_qos.
public static extern EventOwnedHandle NewQos(QOSType type, double proportion, ClockTimeDiff diff, ClockTime timestamp)
Parameters
type
QOSTypeTransfer ownership: None Nullable: False
proportion
doubleTransfer ownership: None Nullable: False
diff
ClockTimeDiffTransfer ownership: None Nullable: False
timestamp
ClockTimeTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewReconfigure()
Calls native constructor gst_event_new_reconfigure.
public static extern EventOwnedHandle NewReconfigure()
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewSeek(double, Format, SeekFlags, SeekType, long, SeekType, long)
Calls native constructor gst_event_new_seek.
public static extern EventOwnedHandle NewSeek(double rate, Format format, SeekFlags flags, SeekType startType, long start, SeekType stopType, long stop)
Parameters
rate
doubleTransfer ownership: None Nullable: False
format
FormatTransfer ownership: None Nullable: False
flags
SeekFlagsTransfer ownership: None Nullable: False
startType
SeekTypeTransfer ownership: None Nullable: False
start
longTransfer ownership: None Nullable: False
stopType
SeekTypeTransfer ownership: None Nullable: False
stop
longTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewSegment(SegmentHandle)
Calls native constructor gst_event_new_segment.
public static extern EventOwnedHandle NewSegment(SegmentHandle segment)
Parameters
segment
SegmentHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewSegmentDone(Format, long)
Calls native constructor gst_event_new_segment_done.
public static extern EventOwnedHandle NewSegmentDone(Format format, long position)
Parameters
format
FormatTransfer ownership: None Nullable: False
position
longTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewSelectStreams(ListHandle)
Calls native constructor gst_event_new_select_streams. Version: 1.10
[Version("1.10")]
public static extern EventOwnedHandle NewSelectStreams(ListHandle streams)
Parameters
streams
ListHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewSinkMessage(NonNullableUtf8StringHandle, MessageHandle)
Calls native constructor gst_event_new_sink_message.
public static extern EventOwnedHandle NewSinkMessage(NonNullableUtf8StringHandle name, MessageHandle msg)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
msg
MessageHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewStep(Format, ulong, double, bool, bool)
Calls native constructor gst_event_new_step.
public static extern EventOwnedHandle NewStep(Format format, ulong amount, double rate, bool flush, bool intermediate)
Parameters
format
FormatTransfer ownership: None Nullable: False
amount
ulongTransfer ownership: None Nullable: False
rate
doubleTransfer ownership: None Nullable: False
flush
boolTransfer ownership: None Nullable: False
intermediate
boolTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewStreamCollection(IntPtr)
Calls native constructor gst_event_new_stream_collection. Version: 1.10
[Version("1.10")]
public static extern EventOwnedHandle NewStreamCollection(IntPtr collection)
Parameters
collection
IntPtrTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewStreamGroupDone(uint)
Calls native constructor gst_event_new_stream_group_done. Version: 1.10
[Version("1.10")]
public static extern EventOwnedHandle NewStreamGroupDone(uint groupId)
Parameters
groupId
uintTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewStreamStart(NonNullableUtf8StringHandle)
Calls native constructor gst_event_new_stream_start.
public static extern EventOwnedHandle NewStreamStart(NonNullableUtf8StringHandle streamId)
Parameters
streamId
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewTag(TagListUnownedHandle)
Calls native constructor gst_event_new_tag.
public static extern EventOwnedHandle NewTag(TagListUnownedHandle taglist)
Parameters
taglist
TagListUnownedHandleTransfer ownership: Full Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewToc(TocHandle, bool)
Calls native constructor gst_event_new_toc.
public static extern EventOwnedHandle NewToc(TocHandle toc, bool updated)
Parameters
toc
TocHandleTransfer ownership: None Nullable: False
updated
boolTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
NewTocSelect(NonNullableUtf8StringHandle)
Calls native constructor gst_event_new_toc_select.
public static extern EventOwnedHandle NewTocSelect(NonNullableUtf8StringHandle uid)
Parameters
uid
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- EventOwnedHandle
Transfer ownership: Full Nullable: False
ParseBufferSize(EventHandle, out IntPtr, out long, out long, out bool)
Calls native method gst_event_parse_buffer_size.
public static extern void ParseBufferSize(EventHandle @event, out IntPtr format, out long minsize, out long maxsize, out bool async)
Parameters
event
EventHandleformat
IntPtrTransfer ownership: Full Nullable: False
minsize
longTransfer ownership: Full Nullable: False
maxsize
longTransfer ownership: Full Nullable: False
async
boolTransfer ownership: Full Nullable: False
ParseFlushStop(EventHandle, out bool)
Calls native method gst_event_parse_flush_stop.
public static extern void ParseFlushStop(EventHandle @event, out bool resetTime)
Parameters
event
EventHandleresetTime
boolTransfer ownership: Full Nullable: False
ParseGap(EventHandle, out ClockTime, out ClockTime)
Calls native method gst_event_parse_gap.
public static extern void ParseGap(EventHandle @event, out ClockTime timestamp, out ClockTime duration)
Parameters
event
EventHandletimestamp
ClockTimeTransfer ownership: Full Nullable: False
duration
ClockTimeTransfer ownership: Full Nullable: False
ParseGapFlags(EventHandle, out GapFlags)
Calls native method gst_event_parse_gap_flags. Version: 1.20
[Version("1.20")]
public static extern void ParseGapFlags(EventHandle @event, out GapFlags flags)
Parameters
event
EventHandleflags
GapFlagsTransfer ownership: Full Nullable: False
ParseGroupId(EventHandle, out uint)
Calls native method gst_event_parse_group_id. Version: 1.2
[Version("1.2")]
public static extern bool ParseGroupId(EventHandle @event, out uint groupId)
Parameters
event
EventHandlegroupId
uintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ParseInstantRateChange(EventHandle, out double, out SegmentFlags)
Calls native method gst_event_parse_instant_rate_change. Version: 1.18
[Version("1.18")]
public static extern void ParseInstantRateChange(EventHandle @event, out double rateMultiplier, out SegmentFlags newFlags)
Parameters
event
EventHandlerateMultiplier
doubleTransfer ownership: Full Nullable: False
newFlags
SegmentFlagsTransfer ownership: Full Nullable: False
ParseInstantRateSyncTime(EventHandle, out double, out ClockTime, out ClockTime)
Calls native method gst_event_parse_instant_rate_sync_time. Version: 1.18
[Version("1.18")]
public static extern void ParseInstantRateSyncTime(EventHandle @event, out double rateMultiplier, out ClockTime runningTime, out ClockTime upstreamRunningTime)
Parameters
event
EventHandlerateMultiplier
doubleTransfer ownership: Full Nullable: False
runningTime
ClockTimeTransfer ownership: Full Nullable: False
upstreamRunningTime
ClockTimeTransfer ownership: Full Nullable: False
ParseLatency(EventHandle, out ClockTime)
Calls native method gst_event_parse_latency.
public static extern void ParseLatency(EventHandle @event, out ClockTime latency)
Parameters
event
EventHandlelatency
ClockTimeTransfer ownership: Full Nullable: False
ParseQos(EventHandle, out IntPtr, out double, out ClockTimeDiff, out ClockTime)
Calls native method gst_event_parse_qos.
public static extern void ParseQos(EventHandle @event, out IntPtr type, out double proportion, out ClockTimeDiff diff, out ClockTime timestamp)
Parameters
event
EventHandletype
IntPtrTransfer ownership: Full Nullable: False
proportion
doubleTransfer ownership: Full Nullable: False
diff
ClockTimeDiffTransfer ownership: Full Nullable: False
timestamp
ClockTimeTransfer ownership: Full Nullable: False
ParseSeek(EventHandle, out double, out IntPtr, out SeekFlags, out IntPtr, out long, out IntPtr, out long)
Calls native method gst_event_parse_seek.
public static extern void ParseSeek(EventHandle @event, out double rate, out IntPtr format, out SeekFlags flags, out IntPtr startType, out long start, out IntPtr stopType, out long stop)
Parameters
event
EventHandlerate
doubleTransfer ownership: Full Nullable: False
format
IntPtrTransfer ownership: Full Nullable: False
flags
SeekFlagsTransfer ownership: Full Nullable: False
startType
IntPtrTransfer ownership: Full Nullable: False
start
longTransfer ownership: Full Nullable: False
stopType
IntPtrTransfer ownership: Full Nullable: False
stop
longTransfer ownership: Full Nullable: False
ParseSeekTrickmodeInterval(EventHandle, out ClockTime)
Calls native method gst_event_parse_seek_trickmode_interval. Version: 1.16
[Version("1.16")]
public static extern void ParseSeekTrickmodeInterval(EventHandle @event, out ClockTime interval)
Parameters
event
EventHandleinterval
ClockTimeTransfer ownership: Full Nullable: False
ParseSegmentDone(EventHandle, out IntPtr, out long)
Calls native method gst_event_parse_segment_done.
public static extern void ParseSegmentDone(EventHandle @event, out IntPtr format, out long position)
Parameters
event
EventHandleformat
IntPtrTransfer ownership: Full Nullable: False
position
longTransfer ownership: Full Nullable: False
ParseStep(EventHandle, out IntPtr, out ulong, out double, out bool, out bool)
Calls native method gst_event_parse_step.
public static extern void ParseStep(EventHandle @event, out IntPtr format, out ulong amount, out double rate, out bool flush, out bool intermediate)
Parameters
event
EventHandleformat
IntPtrTransfer ownership: Full Nullable: False
amount
ulongTransfer ownership: Full Nullable: False
rate
doubleTransfer ownership: Full Nullable: False
flush
boolTransfer ownership: Full Nullable: False
intermediate
boolTransfer ownership: Full Nullable: False
ParseStream(EventHandle, out IntPtr)
Calls native method gst_event_parse_stream. Version: 1.10
[Version("1.10")]
public static extern void ParseStream(EventHandle @event, out IntPtr stream)
Parameters
event
EventHandlestream
IntPtrTransfer ownership: Full Nullable: False
ParseStreamCollection(EventHandle, out IntPtr)
Calls native method gst_event_parse_stream_collection. Version: 1.10
[Version("1.10")]
public static extern void ParseStreamCollection(EventHandle @event, out IntPtr collection)
Parameters
event
EventHandlecollection
IntPtrTransfer ownership: Full Nullable: False
ParseStreamFlags(EventHandle, out StreamFlags)
Calls native method gst_event_parse_stream_flags. Version: 1.2
[Version("1.2")]
public static extern void ParseStreamFlags(EventHandle @event, out StreamFlags flags)
Parameters
event
EventHandleflags
StreamFlagsTransfer ownership: Full Nullable: False
ParseStreamGroupDone(EventHandle, out uint)
Calls native method gst_event_parse_stream_group_done. Version: 1.10
[Version("1.10")]
public static extern void ParseStreamGroupDone(EventHandle @event, out uint groupId)
Parameters
event
EventHandlegroupId
uintTransfer ownership: Full Nullable: False
ParseStreamStart(EventHandle, out NonNullableUtf8StringUnownedHandle)
Calls native method gst_event_parse_stream_start.
public static extern void ParseStreamStart(EventHandle @event, out NonNullableUtf8StringUnownedHandle streamId)
Parameters
event
EventHandlestreamId
NonNullableUtf8StringUnownedHandleTransfer ownership: None Nullable: False
ParseTocSelect(EventHandle, out NonNullableUtf8StringOwnedHandle)
Calls native method gst_event_parse_toc_select.
public static extern void ParseTocSelect(EventHandle @event, out NonNullableUtf8StringOwnedHandle uid)
Parameters
event
EventHandleuid
NonNullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: False
SetGapFlags(EventHandle, GapFlags)
Calls native method gst_event_set_gap_flags. Version: 1.20
[Version("1.20")]
public static extern void SetGapFlags(EventHandle @event, GapFlags flags)
Parameters
event
EventHandleflags
GapFlagsTransfer ownership: None Nullable: False
SetGroupId(EventHandle, uint)
Calls native method gst_event_set_group_id. Version: 1.2
[Version("1.2")]
public static extern void SetGroupId(EventHandle @event, uint groupId)
Parameters
event
EventHandlegroupId
uintTransfer ownership: None Nullable: False
SetRunningTimeOffset(EventHandle, long)
Calls native method gst_event_set_running_time_offset. Version: 1.4
[Version("1.4")]
public static extern void SetRunningTimeOffset(EventHandle @event, long offset)
Parameters
event
EventHandleoffset
longTransfer ownership: None Nullable: False
SetSeekTrickmodeInterval(EventHandle, ClockTime)
Calls native method gst_event_set_seek_trickmode_interval. Version: 1.16
[Version("1.16")]
public static extern void SetSeekTrickmodeInterval(EventHandle @event, ClockTime interval)
Parameters
event
EventHandleinterval
ClockTimeTransfer ownership: None Nullable: False
SetSeqnum(EventHandle, uint)
Calls native method gst_event_set_seqnum.
public static extern void SetSeqnum(EventHandle @event, uint seqnum)
Parameters
event
EventHandleseqnum
uintTransfer ownership: None Nullable: False
SetStream(EventHandle, IntPtr)
Calls native method gst_event_set_stream. Version: 1.10
[Version("1.10")]
public static extern void SetStream(EventHandle @event, IntPtr stream)
Parameters
event
EventHandlestream
IntPtrTransfer ownership: None Nullable: False
SetStreamFlags(EventHandle, StreamFlags)
Calls native method gst_event_set_stream_flags. Version: 1.2
[Version("1.2")]
public static extern void SetStreamFlags(EventHandle @event, StreamFlags flags)
Parameters
event
EventHandleflags
StreamFlagsTransfer ownership: None Nullable: False
WritableStructure(EventHandle)
Calls native method gst_event_writable_structure.
public static extern StructureUnownedHandle WritableStructure(EventHandle @event)
Parameters
event
EventHandle
Returns
- StructureUnownedHandle
Transfer ownership: None Nullable: False