Class LibIMobileDevice
java.lang.Object
org.robovm.libimobiledevice.binding.LibIMobileDevice
- All Implemented Interfaces:
LibIMobileDeviceConstants
public class LibIMobileDevice extends java.lang.Object implements LibIMobileDeviceConstants
-
Field Summary
Fields inherited from interface org.robovm.libimobiledevice.binding.LibIMobileDeviceConstants
AFC_SERVICE_NAME, DEBUGSERVER_SERVICE_NAME, INSTPROXY_SERVICE_NAME, MOBILE_IMAGE_MOUNTER_SERVICE_NAME -
Constructor Summary
Constructors Constructor Description LibIMobileDevice() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LibIMobileDevice
public LibIMobileDevice()
-
-
Method Details
-
plist_new_dict
-
plist_free
-
plist_to_bin
-
plist_to_xml
-
plist_from_bin
-
delete_StringOut_value
-
delete_ByteArrayOut_value
-
delete_StringArray_values
-
delete_StringArray_values_z
-
get_global_instproxy_status_cb
public static long get_global_instproxy_status_cb() -
get_global_idevice_event_cb
public static long get_global_idevice_event_cb() -
upload_image
public static MobileImageMounterError upload_image(MobileImageMounterClientRef client, java.lang.String image_path, java.lang.String image_type, byte[] sig, long sig_size) -
idevice_set_debug_level
public static void idevice_set_debug_level(int level) -
idevice_event_subscribe
-
idevice_event_unsubscribe
-
idevice_get_device_list
-
idevice_device_list_free
-
idevice_new
-
idevice_free
-
idevice_connect
public static IDeviceError idevice_connect(IDeviceRef device, short port, IDeviceConnectionRefOut connection) -
idevice_disconnect
-
idevice_connection_send
public static IDeviceError idevice_connection_send(IDeviceConnectionRef connection, byte[] data, int len, IntOut sent_bytes) -
idevice_connection_receive_timeout
public static IDeviceError idevice_connection_receive_timeout(IDeviceConnectionRef connection, byte[] data, int len, IntOut recv_bytes, int timeout) -
idevice_connection_receive
public static IDeviceError idevice_connection_receive(IDeviceConnectionRef connection, byte[] data, int len, IntOut recv_bytes) -
idevice_connection_enable_ssl
-
idevice_connection_disable_ssl
-
idevice_connection_disable_bypass_ssl
public static IDeviceError idevice_connection_disable_bypass_ssl(IDeviceConnectionRef connection, boolean sslBypass) -
idevice_connection_get_fd
-
idevice_get_handle
-
idevice_get_udid
-
lockdownd_client_new
public static LockdowndError lockdownd_client_new(IDeviceRef device, LockdowndClientRefOut client, java.lang.String label) -
lockdownd_client_new_with_handshake
public static LockdowndError lockdownd_client_new_with_handshake(IDeviceRef device, LockdowndClientRefOut client, java.lang.String label) -
lockdownd_client_free
-
lockdownd_query_type
-
lockdownd_get_value
public static LockdowndError lockdownd_get_value(LockdowndClientRef client, java.lang.String domain, java.lang.String key, PlistRefOut value) -
lockdownd_set_value
public static LockdowndError lockdownd_set_value(LockdowndClientRef client, java.lang.String domain, java.lang.String key, PlistRef value) -
lockdownd_remove_value
public static LockdowndError lockdownd_remove_value(LockdowndClientRef client, java.lang.String domain, java.lang.String key) -
lockdownd_start_service
public static LockdowndError lockdownd_start_service(LockdowndClientRef client, java.lang.String identifier, LockdowndServiceDescriptorStructOut service) -
lockdownd_start_service_with_escrow_bag
public static LockdowndError lockdownd_start_service_with_escrow_bag(LockdowndClientRef client, java.lang.String identifier, LockdowndServiceDescriptorStructOut service) -
lockdownd_start_session
public static LockdowndError lockdownd_start_session(LockdowndClientRef client, java.lang.String host_id, StringOut session_id, IntOut sslEnabled) -
lockdownd_stop_session
public static LockdowndError lockdownd_stop_session(LockdowndClientRef client, java.lang.String session_id) -
lockdownd_send
-
lockdownd_receive
-
lockdownd_pair
public static LockdowndError lockdownd_pair(LockdowndClientRef client, LockdowndPairRecordStruct pair_record) -
lockdownd_pair_with_options
public static LockdowndError lockdownd_pair_with_options(LockdowndClientRef client, LockdowndPairRecordStruct pair_record, PlistRef options, PlistRefOut response) -
lockdownd_validate_pair
public static LockdowndError lockdownd_validate_pair(LockdowndClientRef client, LockdowndPairRecordStruct pair_record) -
lockdownd_unpair
public static LockdowndError lockdownd_unpair(LockdowndClientRef client, LockdowndPairRecordStruct pair_record) -
lockdownd_activate
public static LockdowndError lockdownd_activate(LockdowndClientRef client, PlistRef activation_record) -
lockdownd_deactivate
-
lockdownd_enter_recovery
-
lockdownd_goodbye
-
lockdownd_client_set_label
-
lockdownd_get_device_udid
-
lockdownd_get_device_name
public static LockdowndError lockdownd_get_device_name(LockdowndClientRef client, StringOut device_name) -
lockdownd_get_sync_data_classes
public static LockdowndError lockdownd_get_sync_data_classes(LockdowndClientRef client, StringArrayOut classes, IntOut count) -
lockdownd_data_classes_free
-
lockdownd_service_descriptor_free
public static LockdowndError lockdownd_service_descriptor_free(LockdowndServiceDescriptorStruct service) -
afc_client_new
public static AfcError afc_client_new(IDeviceRef device, LockdowndServiceDescriptorStruct service, AfcClientRefOut client) -
afc_client_start_service
public static AfcError afc_client_start_service(IDeviceRef device, AfcClientRefOut client, java.lang.String label) -
afc_client_free
-
afc_get_device_info
-
afc_read_directory
public static AfcError afc_read_directory(AfcClientRef client, java.lang.String path, StringArrayOut directory_information) -
afc_get_file_info
public static AfcError afc_get_file_info(AfcClientRef client, java.lang.String filename, StringArrayOut file_information) -
afc_file_open
public static AfcError afc_file_open(AfcClientRef client, java.lang.String filename, AfcFileMode file_mode, LongOut handle) -
afc_file_close
-
afc_file_lock
-
afc_file_read
public static AfcError afc_file_read(AfcClientRef client, long handle, byte[] data, int length, IntOut bytes_read) -
afc_file_write
public static AfcError afc_file_write(AfcClientRef client, long handle, byte[] data, int length, IntOut bytes_written) -
afc_file_seek
-
afc_file_tell
-
afc_file_truncate
-
afc_remove_path
-
afc_rename_path
public static AfcError afc_rename_path(AfcClientRef client, java.lang.String from, java.lang.String to) -
afc_make_directory
-
afc_truncate
-
afc_make_link
public static AfcError afc_make_link(AfcClientRef client, AfcLinkType linktype, java.lang.String target, java.lang.String linkname) -
afc_set_file_time
-
afc_remove_path_and_contents
-
afc_get_device_info_key
public static AfcError afc_get_device_info_key(AfcClientRef client, java.lang.String key, StringOut value) -
afc_dictionary_free
-
instproxy_client_new
public static InstProxyError instproxy_client_new(IDeviceRef device, LockdowndServiceDescriptorStruct service, InstproxyClientRefOut client) -
instproxy_client_start_service
public static InstProxyError instproxy_client_start_service(IDeviceRef device, InstproxyClientRefOut client, java.lang.String label) -
instproxy_client_free
-
instproxy_browse
public static InstProxyError instproxy_browse(InstproxyClientRef client, PlistRef client_options, PlistRefOut result) -
instproxy_browse_with_callback
public static InstProxyError instproxy_browse_with_callback(InstproxyClientRef client, PlistRef client_options, long status_cb, int user_data) -
instproxy_lookup
public static InstProxyError instproxy_lookup(InstproxyClientRef client, StringArray appids, PlistRef client_options, PlistRefOut result) -
instproxy_install
public static InstProxyError instproxy_install(InstproxyClientRef client, java.lang.String pkg_path, PlistRef client_options, long status_cb, int user_data) -
instproxy_upgrade
public static InstProxyError instproxy_upgrade(InstproxyClientRef client, java.lang.String pkg_path, PlistRef client_options, long status_cb, int user_data) -
instproxy_uninstall
public static InstProxyError instproxy_uninstall(InstproxyClientRef client, java.lang.String appid, PlistRef client_options, long status_cb, int user_data) -
instproxy_lookup_archives
public static InstProxyError instproxy_lookup_archives(InstproxyClientRef client, PlistRef client_options, PlistRefOut result) -
instproxy_archive
public static InstProxyError instproxy_archive(InstproxyClientRef client, java.lang.String appid, PlistRef client_options, long status_cb, int user_data) -
instproxy_restore
public static InstProxyError instproxy_restore(InstproxyClientRef client, java.lang.String appid, PlistRef client_options, long status_cb, int user_data) -
instproxy_remove_archive
public static InstProxyError instproxy_remove_archive(InstproxyClientRef client, java.lang.String appid, PlistRef client_options, long status_cb, int user_data) -
instproxy_check_capabilities_match
public static InstProxyError instproxy_check_capabilities_match(InstproxyClientRef client, StringArray capabilities, PlistRef client_options, PlistRefOut result) -
instproxy_command_get_name
-
instproxy_status_get_name
-
instproxy_status_get_error
public static InstProxyError instproxy_status_get_error(PlistRef status, StringOut name, StringOut description, LongOut code) -
instproxy_status_get_current_list
public static void instproxy_status_get_current_list(PlistRef status, LongOut total, LongOut current_index, LongOut current_amount, PlistRefOut list) -
instproxy_status_get_percent_complete
-
instproxy_client_options_new
-
instproxy_client_options_set_return_attributes
-
instproxy_client_options_free
-
instproxy_client_get_path_for_bundle_identifier
public static InstProxyError instproxy_client_get_path_for_bundle_identifier(InstproxyClientRef client, java.lang.String bundle_id, StringOut path) -
mobile_image_mounter_new
public static MobileImageMounterError mobile_image_mounter_new(IDeviceRef device, LockdowndServiceDescriptorStruct service, MobileImageMounterClientRefOut client) -
mobile_image_mounter_start_service
public static MobileImageMounterError mobile_image_mounter_start_service(IDeviceRef device, MobileImageMounterClientRefOut client, java.lang.String label) -
mobile_image_mounter_free
public static MobileImageMounterError mobile_image_mounter_free(MobileImageMounterClientRef client) -
mobile_image_mounter_lookup_image
public static MobileImageMounterError mobile_image_mounter_lookup_image(MobileImageMounterClientRef client, java.lang.String image_type, PlistRefOut result) -
mobile_image_mounter_mount_image
public static MobileImageMounterError mobile_image_mounter_mount_image(MobileImageMounterClientRef client, java.lang.String image_path, byte[] signature, short signature_size, java.lang.String image_type, PlistRefOut result) -
mobile_image_mounter_hangup
public static MobileImageMounterError mobile_image_mounter_hangup(MobileImageMounterClientRef client) -
debugserver_client_new
public static DebugServerError debugserver_client_new(IDeviceRef device, LockdowndServiceDescriptorStruct service, DebugServerClientRefOut client) -
debugserver_client_start_service
public static DebugServerError debugserver_client_start_service(IDeviceRef device, DebugServerClientRefOut client, java.lang.String label) -
debugserver_client_free
-
debugserver_client_send
public static DebugServerError debugserver_client_send(DebugServerClientRef client, byte[] data, int size, IntOut sent) -
debugserver_client_receive_with_timeout
public static DebugServerError debugserver_client_receive_with_timeout(DebugServerClientRef client, byte[] data, int size, IntOut received, int timeout) -
debugserver_client_receive
public static DebugServerError debugserver_client_receive(DebugServerClientRef client, byte[] data, int size, IntOut received) -
debugserver_client_receive_response
public static DebugServerError debugserver_client_receive_response(DebugServerClientRef client, StringOut response) -
toPlistRef
-