Method

FridaDeviceManagerget_device

Declaration

void
frida_device_manager_get_device (
  FridaDeviceManager* self,
  FridaDeviceManagerPredicate predicate,
  void* predicate_target,
  gint timeout,
  GCancellable* cancellable,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description [src]

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

Parameters

predicate

Type: FridaDeviceManagerPredicate

Function deciding whether a device matches.

predicate_target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
timeout

Type: gint

Milliseconds to wait for a match, or 0 to not wait.

cancellable

Type: GCancellable

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
_callback_

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.