Class Promise
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Promise : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Promise>, IDisposable
- 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
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Promise?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Promise? other)
Parameters
other
PromiseAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Expire()
[Version("1.14")]
public void Expire()
GetGType()
public static Type GetGType()
Returns
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
Interrupt()
[Version("1.14")]
public void Interrupt()
New()
[Version("1.14")]
public static Promise New()
Returns
NewWithChangeFunc(PromiseChangeFunc)
[Version("1.14")]
public static Promise NewWithChangeFunc(PromiseChangeFunc func)
Parameters
func
PromiseChangeFunc
Returns
Reply(Structure?)
[Version("1.14")]
public void Reply(Structure? s)
Parameters
Wait()
[Version("1.14")]
public PromiseResult Wait()