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
constructArgumentsConstructArgument[]
ContentDeserializer(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ContentDeserializer(CreationData data)
Parameters
dataCreationData
ContentDeserializer(ContentDeserializerHandle)
protected ContentDeserializer(ContentDeserializerHandle handle)
Parameters
handleContentDeserializerHandle
Methods
GetCancellable()
public Cancellable? GetCancellable()
Returns
GetGType()
public static Type GetGType()
Returns
GetGtype()
public Type GetGtype()
Returns
GetInputStream()
public InputStream GetInputStream()
Returns
GetMimeType()
public string GetMimeType()
Returns
GetPriority()
public int GetPriority()
Returns
GetTaskData()
public nint GetTaskData()
Returns
GetUserData()
public nint GetUserData()
Returns
GetValue()
public Value GetValue()
Returns
IsTagged(nint)
[Version("2.34")]
public bool IsTagged(nint sourceTag)
Parameters
sourceTagnint
Returns
LegacyPropagateError()
[Version("2.34")]
public bool LegacyPropagateError()
Returns
NewFromPointer(nint, bool)
Creates a new managed ContentDeserializer instance for a given pointer.
public static ContentDeserializer NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ContentDeserializer and sets the properties specified by the construct arguments.
public static ContentDeserializer NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
ReturnError(Error)
public void ReturnError(Error error)
Parameters
errorError
ReturnSuccess()
public void ReturnSuccess()