Table of Contents

Class ContentDeserializer

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class ContentDeserializer : Object, AsyncResult, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
ContentDeserializer
Implements
Inherited Members

Constructors

ContentDeserializer(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ContentDeserializer(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ContentDeserializer(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ContentDeserializer(CreationData data)

Parameters

data CreationData

ContentDeserializer(ContentDeserializerHandle)

protected ContentDeserializer(ContentDeserializerHandle handle)

Parameters

handle ContentDeserializerHandle

Methods

GetCancellable()

public Cancellable? GetCancellable()

Returns

Cancellable

GetGType()

public static Type GetGType()

Returns

Type

GetGtype()

public Type GetGtype()

Returns

Type

GetInputStream()

public InputStream GetInputStream()

Returns

InputStream

GetMimeType()

public string GetMimeType()

Returns

string

GetPriority()

public int GetPriority()

Returns

int

GetTaskData()

public nint GetTaskData()

Returns

nint

GetUserData()

public nint GetUserData()

Returns

nint

GetValue()

public Value GetValue()

Returns

Value

IsTagged(nint)

[Version("2.34")]
public bool IsTagged(nint sourceTag)

Parameters

sourceTag nint

Returns

bool

LegacyPropagateError()

[Version("2.34")]
public bool LegacyPropagateError()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed ContentDeserializer instance for a given pointer.

public static ContentDeserializer NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ContentDeserializer

NewWithProperties(ConstructArgument[])

Creates a new ContentDeserializer and sets the properties specified by the construct arguments.

public static ContentDeserializer NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ContentDeserializer

ReturnError(Error)

public void ReturnError(Error error)

Parameters

error Error

ReturnSuccess()

public void ReturnSuccess()