Class AsyncInitable
public class AsyncInitable
- Inheritance
-
AsyncInitable
- Inherited Members
Methods
GetGType()
Calls native function g_async_initable_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
InitAsync(IntPtr, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method g_async_initable_init_async. Version: 2.22
[Version("2.22")]
public static extern void InitAsync(IntPtr initable, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
initable
IntPtrTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
InitFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method g_async_initable_init_finish. Version: 2.22
[Version("2.22")]
public static extern bool InitFinish(IntPtr initable, IntPtr res, out ErrorOwnedHandle error)
Parameters
initable
IntPtrTransfer ownership: None Nullable: False
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
NewFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method g_async_initable_new_finish. Version: 2.22
[Version("2.22")]
public static extern IntPtr NewFinish(IntPtr initable, IntPtr res, out ErrorOwnedHandle error)
Parameters
initable
IntPtrTransfer ownership: None Nullable: False
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewValistAsync(Type, NonNullableUtf8StringHandle, IntPtr, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_async_initable_new_valist_async. Version: 2.22
[Version("2.22")]
public static extern void NewValistAsync(Type objectType, NonNullableUtf8StringHandle firstPropertyName, IntPtr varArgs, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
objectType
TypeTransfer ownership: None Nullable: False
firstPropertyName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
varArgs
IntPtrTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
NewvAsync(Type, uint, ParameterHandle, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_async_initable_newv_async. Version: 2.22
[Version("2.22")]
public static extern void NewvAsync(Type objectType, uint nParameters, ParameterHandle parameters, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
objectType
TypeTransfer ownership: None Nullable: False
nParameters
uintTransfer ownership: None Nullable: False
parameters
ParameterHandleTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True