Class DBusProxy
public class DBusProxy
- Inheritance
-
DBusProxy
- Inherited Members
Methods
Call(IntPtr, NonNullableUtf8StringHandle, VariantHandle, DBusCallFlags, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method g_dbus_proxy_call. Version: 2.26
[Version("2.26")]
public static extern void Call(IntPtr proxy, NonNullableUtf8StringHandle methodName, VariantHandle parameters, DBusCallFlags flags, int timeoutMsec, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
methodName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
parameters
VariantHandleTransfer ownership: None Nullable: True
flags
DBusCallFlagsTransfer ownership: None Nullable: False
timeoutMsec
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
CallFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method g_dbus_proxy_call_finish. Version: 2.26
[Version("2.26")]
public static extern VariantOwnedHandle CallFinish(IntPtr proxy, IntPtr res, out ErrorOwnedHandle error)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: False
CallSync(IntPtr, NonNullableUtf8StringHandle, VariantHandle, DBusCallFlags, int, IntPtr, out ErrorOwnedHandle)
Calls native method g_dbus_proxy_call_sync. Version: 2.26
[Version("2.26")]
public static extern VariantOwnedHandle CallSync(IntPtr proxy, NonNullableUtf8StringHandle methodName, VariantHandle parameters, DBusCallFlags flags, int timeoutMsec, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
methodName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
parameters
VariantHandleTransfer ownership: None Nullable: True
flags
DBusCallFlagsTransfer ownership: None Nullable: False
timeoutMsec
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: False
CallWithUnixFdList(IntPtr, NonNullableUtf8StringHandle, VariantHandle, DBusCallFlags, int, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method g_dbus_proxy_call_with_unix_fd_list. Version: 2.30
[Version("2.30")]
public static extern void CallWithUnixFdList(IntPtr proxy, NonNullableUtf8StringHandle methodName, VariantHandle parameters, DBusCallFlags flags, int timeoutMsec, IntPtr fdList, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
methodName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
parameters
VariantHandleTransfer ownership: None Nullable: True
flags
DBusCallFlagsTransfer ownership: None Nullable: False
timeoutMsec
intTransfer ownership: None Nullable: False
fdList
IntPtrTransfer ownership: None Nullable: True
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
CallWithUnixFdListFinish(IntPtr, out IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method g_dbus_proxy_call_with_unix_fd_list_finish. Version: 2.30
[Version("2.30")]
public static extern VariantOwnedHandle CallWithUnixFdListFinish(IntPtr proxy, out IntPtr outFdList, IntPtr res, out ErrorOwnedHandle error)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
outFdList
IntPtrTransfer ownership: Full Nullable: False
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: False
CallWithUnixFdListSync(IntPtr, NonNullableUtf8StringHandle, VariantHandle, DBusCallFlags, int, IntPtr, out IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method g_dbus_proxy_call_with_unix_fd_list_sync. Version: 2.30
[Version("2.30")]
public static extern VariantOwnedHandle CallWithUnixFdListSync(IntPtr proxy, NonNullableUtf8StringHandle methodName, VariantHandle parameters, DBusCallFlags flags, int timeoutMsec, IntPtr fdList, out IntPtr outFdList, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
methodName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
parameters
VariantHandleTransfer ownership: None Nullable: True
flags
DBusCallFlagsTransfer ownership: None Nullable: False
timeoutMsec
intTransfer ownership: None Nullable: False
fdList
IntPtrTransfer ownership: None Nullable: True
outFdList
IntPtrTransfer ownership: Full Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: False
GetCachedProperty(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_dbus_proxy_get_cached_property. Version: 2.26
[Version("2.26")]
public static extern VariantOwnedHandle GetCachedProperty(IntPtr proxy, NonNullableUtf8StringHandle propertyName)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
propertyName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: True
GetCachedPropertyNames(IntPtr)
Calls native method g_dbus_proxy_get_cached_property_names. Version: 2.26
[Version("2.26")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle GetCachedPropertyNames(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: True
GetConnection(IntPtr)
Calls native method g_dbus_proxy_get_connection. Version: 2.26
[Version("2.26")]
public static extern IntPtr GetConnection(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetDefaultTimeout(IntPtr)
Calls native method g_dbus_proxy_get_default_timeout. Version: 2.26
[Version("2.26")]
public static extern int GetDefaultTimeout(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetFlags(IntPtr)
Calls native method g_dbus_proxy_get_flags. Version: 2.26
[Version("2.26")]
public static extern DBusProxyFlags GetFlags(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- DBusProxyFlags
Transfer ownership: None Nullable: False
GetGType()
Calls native function g_dbus_proxy_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetInterfaceInfo(IntPtr)
Calls native method g_dbus_proxy_get_interface_info. Version: 2.26
[Version("2.26")]
public static extern DBusInterfaceInfoUnownedHandle GetInterfaceInfo(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- DBusInterfaceInfoUnownedHandle
Transfer ownership: None Nullable: True
GetInterfaceName(IntPtr)
Calls native method g_dbus_proxy_get_interface_name. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetInterfaceName(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetName(IntPtr)
Calls native method g_dbus_proxy_get_name. Version: 2.26
[Version("2.26")]
public static extern NullableUtf8StringUnownedHandle GetName(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetNameOwner(IntPtr)
Calls native method g_dbus_proxy_get_name_owner. Version: 2.26
[Version("2.26")]
public static extern NullableUtf8StringOwnedHandle GetNameOwner(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
GetObjectPath(IntPtr)
Calls native method g_dbus_proxy_get_object_path. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetObjectPath(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
New(IntPtr, DBusProxyFlags, DBusInterfaceInfoHandle, NullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_dbus_proxy_new. Version: 2.26
[Version("2.26")]
public static extern void New(IntPtr connection, DBusProxyFlags flags, DBusInterfaceInfoHandle info, NullableUtf8StringHandle name, NonNullableUtf8StringHandle objectPath, NonNullableUtf8StringHandle interfaceName, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
connection
IntPtrTransfer ownership: None Nullable: False
flags
DBusProxyFlagsTransfer ownership: None Nullable: False
info
DBusInterfaceInfoHandleTransfer ownership: None Nullable: True
name
NullableUtf8StringHandleTransfer ownership: None Nullable: True
objectPath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
interfaceName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
NewFinish(IntPtr, out ErrorOwnedHandle)
Calls native constructor g_dbus_proxy_new_finish. Version: 2.26
[Version("2.26")]
public static extern IntPtr NewFinish(IntPtr res, out ErrorOwnedHandle error)
Parameters
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewForBus(BusType, DBusProxyFlags, DBusInterfaceInfoHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_dbus_proxy_new_for_bus. Version: 2.26
[Version("2.26")]
public static extern void NewForBus(BusType busType, DBusProxyFlags flags, DBusInterfaceInfoHandle info, NonNullableUtf8StringHandle name, NonNullableUtf8StringHandle objectPath, NonNullableUtf8StringHandle interfaceName, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
flags
DBusProxyFlagsTransfer ownership: None Nullable: False
info
DBusInterfaceInfoHandleTransfer ownership: None Nullable: True
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
objectPath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
interfaceName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
NewForBusFinish(IntPtr, out ErrorOwnedHandle)
Calls native constructor g_dbus_proxy_new_for_bus_finish. Version: 2.26
[Version("2.26")]
public static extern IntPtr NewForBusFinish(IntPtr res, out ErrorOwnedHandle error)
Parameters
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewForBusSync(BusType, DBusProxyFlags, DBusInterfaceInfoHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, IntPtr, out ErrorOwnedHandle)
Calls native constructor g_dbus_proxy_new_for_bus_sync. Version: 2.26
[Version("2.26")]
public static extern IntPtr NewForBusSync(BusType busType, DBusProxyFlags flags, DBusInterfaceInfoHandle info, NonNullableUtf8StringHandle name, NonNullableUtf8StringHandle objectPath, NonNullableUtf8StringHandle interfaceName, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
flags
DBusProxyFlagsTransfer ownership: None Nullable: False
info
DBusInterfaceInfoHandleTransfer ownership: None Nullable: True
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
objectPath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
interfaceName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewSync(IntPtr, DBusProxyFlags, DBusInterfaceInfoHandle, NullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, IntPtr, out ErrorOwnedHandle)
Calls native constructor g_dbus_proxy_new_sync. Version: 2.26
[Version("2.26")]
public static extern IntPtr NewSync(IntPtr connection, DBusProxyFlags flags, DBusInterfaceInfoHandle info, NullableUtf8StringHandle name, NonNullableUtf8StringHandle objectPath, NonNullableUtf8StringHandle interfaceName, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
connection
IntPtrTransfer ownership: None Nullable: False
flags
DBusProxyFlagsTransfer ownership: None Nullable: False
info
DBusInterfaceInfoHandleTransfer ownership: None Nullable: True
name
NullableUtf8StringHandleTransfer ownership: None Nullable: True
objectPath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
interfaceName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
SetCachedProperty(IntPtr, NonNullableUtf8StringHandle, VariantHandle)
Calls native method g_dbus_proxy_set_cached_property. Version: 2.26
[Version("2.26")]
public static extern void SetCachedProperty(IntPtr proxy, NonNullableUtf8StringHandle propertyName, VariantHandle value)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
propertyName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
value
VariantHandleTransfer ownership: None Nullable: True
SetDefaultTimeout(IntPtr, int)
Calls native method g_dbus_proxy_set_default_timeout. Version: 2.26
[Version("2.26")]
public static extern void SetDefaultTimeout(IntPtr proxy, int timeoutMsec)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
timeoutMsec
intTransfer ownership: None Nullable: False
SetInterfaceInfo(IntPtr, DBusInterfaceInfoHandle)
Calls native method g_dbus_proxy_set_interface_info. Version: 2.26
[Version("2.26")]
public static extern void SetInterfaceInfo(IntPtr proxy, DBusInterfaceInfoHandle info)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
info
DBusInterfaceInfoHandleTransfer ownership: None Nullable: True