Class

FridaDeviceManager

Description [src]

final class Frida.DeviceManager : GObject.Object
{
  /* No available fields */
}

Enumerates and keeps track of the devices available to Frida, and is the usual entry point of the API.

Create one, then obtain a FridaDevice — for example the local system via frida_device_manager_get_device_by_type() with DeviceType.LOCAL, or a USB-connected device.

Ancestors

Constructors

frida_device_manager_new

Creates a new device manager with all backends enabled.

frida_device_manager_new_with_nonlocal_backends_only

Creates a device manager with only the non-local backends enabled, so the local system is not exposed as a device.

frida_device_manager_new_with_socket_backend_only

Creates a device manager with only the socket backend enabled, for connecting to remote devices over the network.

Instance methods

frida_device_manager_close

Closes the device manager, releasing all resources. The instance must not be used afterwards.

frida_device_manager_close_finish

Closes the device manager, releasing all resources. The instance must not be used afterwards.

frida_device_manager_close_sync

Closes the device manager, releasing all resources. The instance must not be used afterwards.

frida_device_manager_get_device_by_id

Gets the device with the given ID, throwing if it cannot be found.

frida_device_manager_get_device_by_id_finish

Gets the device with the given ID, throwing if it cannot be found.

frida_device_manager_get_device_by_id_sync

Gets the device with the given ID, throwing if it cannot be found.

frida_device_manager_get_device_by_type

Gets the first device of the given type, throwing if none is found.

frida_device_manager_get_device_by_type_finish

Gets the first device of the given type, throwing if none is found.

frida_device_manager_get_device_by_type_sync

Gets the first device of the given type, throwing if none is found.

frida_device_manager_get_device

Gets the first device accepted by predicate, throwing if none is found.

frida_device_manager_get_device_finish

Gets the first device accepted by predicate, throwing if none is found.

frida_device_manager_get_device_sync

Gets the first device accepted by predicate, throwing if none is found.

frida_device_manager_find_device_by_id

Finds the device with the given ID.

frida_device_manager_find_device_by_id_finish

Finds the device with the given ID.

frida_device_manager_find_device_by_id_sync

Finds the device with the given ID.

frida_device_manager_find_device_by_type

Finds the first device of the given type.

frida_device_manager_find_device_by_type_finish

Finds the first device of the given type.

frida_device_manager_find_device_by_type_sync

Finds the first device of the given type.

frida_device_manager_find_device

Finds the first device accepted by predicate.

frida_device_manager_find_device_finish

Finds the first device accepted by predicate.

frida_device_manager_find_device_sync

Finds the first device accepted by predicate.

frida_device_manager_enumerate_devices

Enumerates the currently available devices.

frida_device_manager_enumerate_devices_finish

Enumerates the currently available devices.

frida_device_manager_enumerate_devices_sync

Enumerates the currently available devices.

frida_device_manager_add_remote_device

Adds a device reachable over the network at the given address.

frida_device_manager_add_remote_device_finish

Adds a device reachable over the network at the given address.

frida_device_manager_add_remote_device_sync

Adds a device reachable over the network at the given address.

frida_device_manager_remove_remote_device

Removes a remote device previously added with frida_device_manager_add_remote_device().

frida_device_manager_remove_remote_device_finish

Removes a remote device previously added with frida_device_manager_add_remote_device().

frida_device_manager_remove_remote_device_sync

Removes a remote device previously added with frida_device_manager_add_remote_device().

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Frida.DeviceManager::added

Emitted when a device is added, such as when a phone is plugged in.

Frida.DeviceManager::removed

Emitted when a device is removed, such as when a phone is unplugged.

Frida.DeviceManager::changed

Emitted when the set of available devices changes.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FridaDeviceManagerClass {
  /* no available fields */
}

No description available.