Class ContentProvider
public class ContentProvider
- Inheritance
-
ContentProvider
- Inherited Members
Methods
ContentChanged(nint)
Calls native method gdk_content_provider_content_changed.
public static extern void ContentChanged(nint provider)
Parameters
provider
nintTransfer ownership: None Nullable: False
GetGType()
Calls native function gdk_content_provider_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
NewForBytes(NonNullableUtf8StringHandle, BytesHandle)
Calls native constructor gdk_content_provider_new_for_bytes.
public static extern nint NewForBytes(NonNullableUtf8StringHandle mimeType, BytesHandle bytes)
Parameters
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
bytes
BytesHandleTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: Full Nullable: False
NewForValue(ValueHandle)
Calls native constructor gdk_content_provider_new_for_value.
public static extern nint NewForValue(ValueHandle value)
Parameters
value
ValueHandleTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: Full Nullable: False
NewUnion(nint[], nuint)
Calls native constructor gdk_content_provider_new_union.
public static extern nint NewUnion(nint[] providers, nuint nProviders)
Parameters
providers
nint[]Transfer ownership: Full Nullable: True
nProviders
nuintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: Full Nullable: False
RefFormats(nint)
Calls native method gdk_content_provider_ref_formats.
public static extern ContentFormatsOwnedHandle RefFormats(nint provider)
Parameters
provider
nintTransfer ownership: None Nullable: False
Returns
- ContentFormatsOwnedHandle
Transfer ownership: Full Nullable: False
RefStorableFormats(nint)
Calls native method gdk_content_provider_ref_storable_formats.
public static extern ContentFormatsOwnedHandle RefStorableFormats(nint provider)
Parameters
provider
nintTransfer ownership: None Nullable: False
Returns
- ContentFormatsOwnedHandle
Transfer ownership: Full Nullable: False
WriteMimeTypeAsync(nint, NonNullableUtf8StringHandle, nint, int, nint, AsyncReadyCallback, nint)
Calls native method gdk_content_provider_write_mime_type_async.
public static extern void WriteMimeTypeAsync(nint provider, NonNullableUtf8StringHandle mimeType, nint stream, int ioPriority, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
provider
nintTransfer ownership: None Nullable: False
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
stream
nintTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
WriteMimeTypeFinish(nint, nint, out ErrorOwnedHandle)
Calls native method gdk_content_provider_write_mime_type_finish.
public static extern bool WriteMimeTypeFinish(nint provider, nint result, out ErrorOwnedHandle error)
Parameters
provider
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False