Table of Contents

Class Promise

Namespace
Gst
Assembly
Gst-1.0.dll
public sealed class Promise : BoxedRecord, IEquatable<Promise>
Inheritance
Promise
Implements
Inherited Members

Constructors

Promise()

public Promise()

Promise(PromiseOwnedHandle)

public Promise(PromiseOwnedHandle handle)

Parameters

handle PromiseOwnedHandle

Properties

Handle

public PromiseOwnedHandle Handle { get; }

Property Value

PromiseOwnedHandle

Methods

Equals(Promise?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Promise? other)

Parameters

other Promise

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Expire()

[Version("1.14")]
public void Expire()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetReply()

[Version("1.14")]
public Structure? GetReply()

Returns

Structure

Interrupt()

[Version("1.14")]
public void Interrupt()

New()

[Version("1.14")]
public static Promise New()

Returns

Promise

NewWithChangeFunc(PromiseChangeFunc)

[Version("1.14")]
public static Promise NewWithChangeFunc(PromiseChangeFunc func)

Parameters

func PromiseChangeFunc

Returns

Promise

Reply(Structure?)

[Version("1.14")]
public void Reply(Structure? s)

Parameters

s Structure

Wait()

[Version("1.14")]
public PromiseResult Wait()

Returns

PromiseResult