Table of Contents

Class MediaStream

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class MediaStream
Inheritance
MediaStream
Inherited Members

Methods

ErrorValist(IntPtr, Quark, int, NonNullableUtf8StringHandle, IntPtr)

Calls native method gtk_media_stream_error_valist.

public static extern void ErrorValist(IntPtr self, Quark domain, int code, NonNullableUtf8StringHandle format, IntPtr args)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

domain Quark

Transfer ownership: None Nullable: False

code int

Transfer ownership: None Nullable: False

format NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

args IntPtr

Transfer ownership: None Nullable: False

Gerror(IntPtr, ErrorUnownedHandle)

Calls native method gtk_media_stream_gerror.

public static extern void Gerror(IntPtr self, ErrorUnownedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

error ErrorUnownedHandle

Transfer ownership: Full Nullable: False

GetDuration(IntPtr)

Calls native method gtk_media_stream_get_duration.

public static extern long GetDuration(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

GetEnded(IntPtr)

Calls native method gtk_media_stream_get_ended.

public static extern bool GetEnded(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetError(IntPtr)

Calls native method gtk_media_stream_get_error.

public static extern ErrorUnownedHandle GetError(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

ErrorUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_media_stream_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLoop(IntPtr)

Calls native method gtk_media_stream_get_loop.

public static extern bool GetLoop(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetMuted(IntPtr)

Calls native method gtk_media_stream_get_muted.

public static extern bool GetMuted(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetPlaying(IntPtr)

Calls native method gtk_media_stream_get_playing.

public static extern bool GetPlaying(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTimestamp(IntPtr)

Calls native method gtk_media_stream_get_timestamp.

public static extern long GetTimestamp(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

GetVolume(IntPtr)

Calls native method gtk_media_stream_get_volume.

public static extern double GetVolume(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

HasAudio(IntPtr)

Calls native method gtk_media_stream_has_audio.

public static extern bool HasAudio(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

HasVideo(IntPtr)

Calls native method gtk_media_stream_has_video.

public static extern bool HasVideo(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsPrepared(IntPtr)

Calls native method gtk_media_stream_is_prepared.

public static extern bool IsPrepared(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsSeekable(IntPtr)

Calls native method gtk_media_stream_is_seekable.

public static extern bool IsSeekable(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsSeeking(IntPtr)

Calls native method gtk_media_stream_is_seeking.

public static extern bool IsSeeking(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Pause(IntPtr)

Calls native method gtk_media_stream_pause.

public static extern void Pause(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Play(IntPtr)

Calls native method gtk_media_stream_play.

public static extern void Play(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Realize(IntPtr, IntPtr)

Calls native method gtk_media_stream_realize.

public static extern void Realize(IntPtr self, IntPtr surface)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

surface IntPtr

Transfer ownership: None Nullable: False

Seek(IntPtr, long)

Calls native method gtk_media_stream_seek.

public static extern void Seek(IntPtr self, long timestamp)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

timestamp long

Transfer ownership: None Nullable: False

SeekFailed(IntPtr)

Calls native method gtk_media_stream_seek_failed.

public static extern void SeekFailed(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

SeekSuccess(IntPtr)

Calls native method gtk_media_stream_seek_success.

public static extern void SeekSuccess(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

SetLoop(IntPtr, bool)

Calls native method gtk_media_stream_set_loop.

public static extern void SetLoop(IntPtr self, bool loop)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

loop bool

Transfer ownership: None Nullable: False

SetMuted(IntPtr, bool)

Calls native method gtk_media_stream_set_muted.

public static extern void SetMuted(IntPtr self, bool muted)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

muted bool

Transfer ownership: None Nullable: False

SetPlaying(IntPtr, bool)

Calls native method gtk_media_stream_set_playing.

public static extern void SetPlaying(IntPtr self, bool playing)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

playing bool

Transfer ownership: None Nullable: False

SetVolume(IntPtr, double)

Calls native method gtk_media_stream_set_volume.

public static extern void SetVolume(IntPtr self, double volume)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

volume double

Transfer ownership: None Nullable: False

StreamEnded(IntPtr)

Calls native method gtk_media_stream_stream_ended. Version: 4.4

[Version("4.4")]
public static extern void StreamEnded(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

StreamPrepared(IntPtr, bool, bool, bool, long)

Calls native method gtk_media_stream_stream_prepared. Version: 4.4

[Version("4.4")]
public static extern void StreamPrepared(IntPtr self, bool hasAudio, bool hasVideo, bool seekable, long duration)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

hasAudio bool

Transfer ownership: None Nullable: False

hasVideo bool

Transfer ownership: None Nullable: False

seekable bool

Transfer ownership: None Nullable: False

duration long

Transfer ownership: None Nullable: False

StreamUnprepared(IntPtr)

Calls native method gtk_media_stream_stream_unprepared. Version: 4.4

[Version("4.4")]
public static extern void StreamUnprepared(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Unprepared(IntPtr)

Calls native method gtk_media_stream_unprepared.

public static extern void Unprepared(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Unrealize(IntPtr, IntPtr)

Calls native method gtk_media_stream_unrealize.

public static extern void Unrealize(IntPtr self, IntPtr surface)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

surface IntPtr

Transfer ownership: None Nullable: False

Update(IntPtr, long)

Calls native method gtk_media_stream_update.

public static extern void Update(IntPtr self, long timestamp)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

timestamp long

Transfer ownership: None Nullable: False