[][src]Function fxaclient_ffi::fxa_get_devices

#[no_mangle]pub extern "C" fn fxa_get_devices(
    handle: u64,
    ignore_cache: u8,
    error: &mut ExternError
) -> ByteBuffer

Fetch the devices (including the current one) in the current account.

Devices might get cached in-memory and the caller might get served a cached version. To bypass this, the ignore_cache parameter can be set to true.

Safety

A destructor [fxa_bytebuffer_free] is provided for releasing the memory for this pointer type.