Table of Contents

Class AsyncInitable

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
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 IntPtr

Transfer ownership: None Nullable: False

ioPriority int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer 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 IntPtr

Transfer ownership: None Nullable: False

res IntPtr

Transfer 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 IntPtr

Transfer ownership: None Nullable: False

res IntPtr

Transfer 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 Type

Transfer ownership: None Nullable: False

firstPropertyName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

varArgs IntPtr

Transfer ownership: None Nullable: False

ioPriority int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer 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 Type

Transfer ownership: None Nullable: False

nParameters uint

Transfer ownership: None Nullable: False

parameters ParameterHandle

Transfer ownership: None Nullable: False

ioPriority int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True