• Home
  • API Documentation
Show / Hide Table of Contents
  • iMobileDevice
    • ILibiMobileDevice
    • LibiMobileDevice
    • NativeLibraries
    • NativeStringArrayMarshaler
    • NativeStringMarshaler
    • Utf8Marshal
  • iMobileDevice.Afc
    • AfcApi
    • AfcClientHandle
    • AfcClientHandleDelegateMarshaler
    • AfcDictionaryMarshaler
    • AfcError
    • AfcErrorExtensions
    • AfcException
    • AfcFileMode
    • AfcLinkType
    • AfcLockOp
    • AfcNativeMethods
    • IAfcApi
  • iMobileDevice.DebugServer
    • DebugServerApi
    • DebugServerClientHandle
    • DebugServerClientHandleDelegateMarshaler
    • DebugServerCommandHandle
    • DebugServerCommandHandleDelegateMarshaler
    • DebugServerError
    • DebugServerErrorExtensions
    • DebugServerException
    • DebugServerNativeMethods
    • IDebugServerApi
  • iMobileDevice.DiagnosticsRelay
    • DiagnosticsRelayAction
    • DiagnosticsRelayApi
    • DiagnosticsRelayClientHandle
    • DiagnosticsRelayClientHandleDelegateMarshaler
    • DiagnosticsRelayError
    • DiagnosticsRelayErrorExtensions
    • DiagnosticsRelayException
    • DiagnosticsRelayNativeMethods
    • IDiagnosticsRelayApi
  • iMobileDevice.FileRelay
    • FileRelayApi
    • FileRelayClientHandle
    • FileRelayClientHandleDelegateMarshaler
    • FileRelayError
    • FileRelayErrorExtensions
    • FileRelayException
    • FileRelayNativeMethods
    • IFileRelayApi
  • iMobileDevice.HeartBeat
    • HeartBeatApi
    • HeartBeatClientHandle
    • HeartBeatClientHandleDelegateMarshaler
    • HeartBeatError
    • HeartBeatErrorExtensions
    • HeartBeatException
    • HeartBeatNativeMethods
    • IHeartBeatApi
  • iMobileDevice.HouseArrest
    • HouseArrestApi
    • HouseArrestClientHandle
    • HouseArrestClientHandleDelegateMarshaler
    • HouseArrestError
    • HouseArrestErrorExtensions
    • HouseArrestException
    • HouseArrestNativeMethods
    • IHouseArrestApi
  • iMobileDevice.iDevice
    • iDeviceApi
    • iDeviceConnectionHandle
    • iDeviceConnectionHandleDelegateMarshaler
    • iDeviceDebugCallBack
    • iDeviceError
    • iDeviceErrorExtensions
    • iDeviceEvent
    • iDeviceEventCallBack
    • iDeviceEventType
    • iDeviceException
    • iDeviceHandle
    • iDeviceHandleDelegateMarshaler
    • iDeviceListMarshaler
    • iDeviceNativeMethods
    • iDeviceSocketType
    • IiDeviceApi
  • iMobileDevice.InstallationProxy
    • IInstallationProxyApi
    • InstallationProxyApi
    • InstallationProxyClientHandle
    • InstallationProxyClientHandleDelegateMarshaler
    • InstallationProxyError
    • InstallationProxyErrorExtensions
    • InstallationProxyException
    • InstallationProxyNativeMethods
    • InstallationProxyStatusCallBack
  • iMobileDevice.Lockdown
    • ILockdownApi
    • LockdownApi
    • LockdownClientHandle
    • LockdownClientHandleDelegateMarshaler
    • LockdownError
    • LockdownErrorExtensions
    • LockdownException
    • LockdownMarshaler
    • LockdownNativeMethods
    • LockdownPairRecord
    • LockdownPairRecordHandle
    • LockdownPairRecordHandleDelegateMarshaler
    • LockdownServiceDescriptor
    • LockdownServiceDescriptorHandle
    • LockdownServiceDescriptorHandleDelegateMarshaler
  • iMobileDevice.Misagent
    • IMisagentApi
    • MisagentApi
    • MisagentClientHandle
    • MisagentClientHandleDelegateMarshaler
    • MisagentError
    • MisagentErrorExtensions
    • MisagentException
    • MisagentNativeMethods
  • iMobileDevice.Mobileactivation
    • IMobileactivationApi
    • MobileactivationApi
    • MobileactivationClientHandle
    • MobileactivationClientHandleDelegateMarshaler
    • MobileactivationError
    • MobileactivationErrorExtensions
    • MobileactivationException
    • MobileactivationNativeMethods
  • iMobileDevice.MobileBackup
    • IMobileBackupApi
    • MobileBackupApi
    • MobileBackupClientHandle
    • MobileBackupClientHandleDelegateMarshaler
    • MobileBackupError
    • MobileBackupErrorExtensions
    • MobileBackupException
    • MobileBackupFlags
    • MobileBackupNativeMethods
  • iMobileDevice.MobileBackup2
    • IMobileBackup2Api
    • MobileBackup2Api
    • MobileBackup2ClientHandle
    • MobileBackup2ClientHandleDelegateMarshaler
    • MobileBackup2Error
    • MobileBackup2ErrorExtensions
    • MobileBackup2Exception
    • MobileBackup2NativeMethods
  • iMobileDevice.MobileImageMounter
    • IMobileImageMounterApi
    • MobileImageMounterApi
    • MobileImageMounterClientHandle
    • MobileImageMounterClientHandleDelegateMarshaler
    • MobileImageMounterError
    • MobileImageMounterErrorExtensions
    • MobileImageMounterException
    • MobileImageMounterNativeMethods
    • MobileImageMounterUploadCallBack
  • iMobileDevice.MobileSync
    • IMobileSyncApi
    • MobileSyncAnchors
    • MobileSyncAnchorsHandle
    • MobileSyncAnchorsHandleDelegateMarshaler
    • MobileSyncApi
    • MobileSyncClientHandle
    • MobileSyncClientHandleDelegateMarshaler
    • MobileSyncError
    • MobileSyncErrorExtensions
    • MobileSyncException
    • MobileSyncNativeMethods
    • MobileSyncSyncType
  • iMobileDevice.NotificationProxy
    • INotificationProxyApi
    • NotificationProxyApi
    • NotificationProxyClientHandle
    • NotificationProxyClientHandleDelegateMarshaler
    • NotificationProxyError
    • NotificationProxyErrorExtensions
    • NotificationProxyException
    • NotificationProxyNativeMethods
    • NotificationProxyNotifyCallBack
  • iMobileDevice.Pinvoke
    • IPinvokeApi
    • PinvokeApi
    • PinvokeError
    • PinvokeErrorExtensions
    • PinvokeException
    • PinvokeNativeMethods
  • iMobileDevice.Plist
    • IPlistApi
    • PlistApi
    • PlistDictIterHandle
    • PlistDictIterHandleDelegateMarshaler
    • PlistHandle
    • PlistHandleDelegateMarshaler
    • PlistNativeMethods
    • PlistType
  • iMobileDevice.PropertyListService
    • IPropertyListServiceApi
    • PropertyListServiceApi
    • PropertyListServiceClientHandle
    • PropertyListServiceClientHandleDelegateMarshaler
    • PropertyListServiceError
    • PropertyListServiceErrorExtensions
    • PropertyListServiceException
    • PropertyListServiceNativeMethods
  • iMobileDevice.Restore
    • IRestoreApi
    • RestoreApi
    • RestoreClientHandle
    • RestoreClientHandleDelegateMarshaler
    • RestoreError
    • RestoreErrorExtensions
    • RestoreException
    • RestoreNativeMethods
  • iMobileDevice.Screenshotr
    • IScreenshotrApi
    • ScreenshotrApi
    • ScreenshotrClientHandle
    • ScreenshotrClientHandleDelegateMarshaler
    • ScreenshotrError
    • ScreenshotrErrorExtensions
    • ScreenshotrException
    • ScreenshotrNativeMethods
  • iMobileDevice.Service
    • ConstructorFunc
    • IServiceApi
    • ServiceApi
    • ServiceClientHandle
    • ServiceClientHandleDelegateMarshaler
    • ServiceError
    • ServiceErrorExtensions
    • ServiceException
    • ServiceNativeMethods
  • iMobileDevice.SpringBoardServices
    • ISpringBoardServicesApi
    • SpringBoardServicesApi
    • SpringBoardServicesClientHandle
    • SpringBoardServicesClientHandleDelegateMarshaler
    • SpringBoardServicesError
    • SpringBoardServicesErrorExtensions
    • SpringBoardServicesException
    • SpringBoardServicesInterfaceOrientation
    • SpringBoardServicesNativeMethods
  • iMobileDevice.SyslogRelay
    • ISyslogRelayApi
    • SyslogRelayApi
    • SyslogRelayClientHandle
    • SyslogRelayClientHandleDelegateMarshaler
    • SyslogRelayError
    • SyslogRelayErrorExtensions
    • SyslogRelayException
    • SyslogRelayNativeMethods
    • SyslogRelayReceiveCallBack
  • iMobileDevice.Usbmuxd
    • IUsbmuxdApi
    • UsbmuxdApi
    • UsbmuxdDeviceInfo
    • UsbmuxdEvent
    • UsbmuxdEventCallBack
    • UsbmuxdEventType
    • UsbmuxdNativeMethods
    • UsbmuxdSocketType
  • iMobileDevice.WebInspector
    • IWebInspectorApi
    • WebInspectorApi
    • WebInspectorClientHandle
    • WebInspectorClientHandleDelegateMarshaler
    • WebInspectorError
    • WebInspectorErrorExtensions
    • WebInspectorException
    • WebInspectorNativeMethods

Class InstallationProxyApi

Inheritance
System.Object
InstallationProxyApi
Implements
IInstallationProxyApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: iMobileDevice.InstallationProxy
Assembly: iMobileDevice-net.dll
Syntax
public class InstallationProxyApi : IInstallationProxyApi

Constructors

| Improve this Doc View Source

InstallationProxyApi(ILibiMobileDevice)

Declaration
public InstallationProxyApi(ILibiMobileDevice parent)
Parameters
Type Name Description
ILibiMobileDevice parent

Properties

| Improve this Doc View Source

Parent

Declaration
public ILibiMobileDevice Parent { get; }
Property Value
Type Description
ILibiMobileDevice

Methods

| Improve this Doc View Source

instproxy_archive(InstallationProxyClientHandle, String, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

Archive an application on the device. This function tells the device to make an archive of the specified application. This results in the device creating a ZIP archive in the 'ApplicationArchives' directory and uninstalling the application.

Declaration
public virtual InstallationProxyError instproxy_archive(InstallationProxyClientHandle client, string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation proxy client

System.String appid

ApplicationIdentifier of the app to archive.

PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

Remarks

If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the command has to be handled inside the specified callback function.

| Improve this Doc View Source

instproxy_browse(InstallationProxyClientHandle, PlistHandle, out PlistHandle)

List installed applications. This function runs synchronously.

Declaration
public virtual InstallationProxyError instproxy_browse(InstallationProxyClientHandle client, PlistHandle clientOptions, out PlistHandle result)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

PlistHandle clientOptions
PlistHandle result

Pointer that will be set to a plist that will hold an array of PLIST_DICT holding information about the applications found.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

| Improve this Doc View Source

instproxy_browse_with_callback(InstallationProxyClientHandle, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

List pages of installed applications in a callback.

Declaration
public virtual InstallationProxyError instproxy_browse_with_callback(InstallationProxyClientHandle client, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

| Improve this Doc View Source

instproxy_check_capabilities_match(InstallationProxyClientHandle, out String, PlistHandle, out PlistHandle)

Checks a device for certain capabilities.

Declaration
public virtual InstallationProxyError instproxy_check_capabilities_match(InstallationProxyClientHandle client, out string capabilities, PlistHandle clientOptions, out PlistHandle result)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

System.String capabilities

An array of char* with capability names that MUST have a terminating NULL entry.

PlistHandle clientOptions
PlistHandle result

Pointer that will be set to a plist containing a PLIST_DICT holding information if the capabilities matched or NULL on errors.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

| Improve this Doc View Source

instproxy_client_free(IntPtr)

Disconnects an installation_proxy client from the device and frees up the installation_proxy client data.

Declaration
public virtual InstallationProxyError instproxy_client_free(IntPtr client)
Parameters
Type Name Description
System.IntPtr client

The installation_proxy client to disconnect and free.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or INSTPROXY_E_INVALID_ARG if client is NULL.

| Improve this Doc View Source

instproxy_client_get_path_for_bundle_identifier(InstallationProxyClientHandle, String, out String)

Queries the device for the path of an application.

Declaration
public virtual InstallationProxyError instproxy_client_get_path_for_bundle_identifier(InstallationProxyClientHandle client, string bundleId, out string path)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation proxy client.

System.String bundleId
System.String path

Pointer to store the device path for the application which is set to NULL if it could not be determined.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success, INSTPROXY_E_OP_FAILED if the path could not be determined or an INSTPROXY_E_* error value if an error occured.

| Improve this Doc View Source

instproxy_client_new(iDeviceHandle, LockdownServiceDescriptorHandle, out InstallationProxyClientHandle)

Connects to the installation_proxy service on the specified device.

Declaration
public virtual InstallationProxyError instproxy_client_new(iDeviceHandle device, LockdownServiceDescriptorHandle service, out InstallationProxyClientHandle client)
Parameters
Type Name Description
iDeviceHandle device

The device to connect to

LockdownServiceDescriptorHandle service

The service descriptor returned by lockdownd_start_service.

InstallationProxyClientHandle client

Pointer that will be set to a newly allocated instproxy_client_t upon successful return.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error value when an error occured.

| Improve this Doc View Source

instproxy_client_options_add(PlistHandle)

Adds one or more new key:value pairs to the given client_options.

Declaration
public virtual void instproxy_client_options_add(PlistHandle clientOptions)
Parameters
Type Name Description
PlistHandle clientOptions
Remarks

The keys and values passed are expected to be strings, except for the keys "ApplicationSINF", "iTunesMetadata", "ReturnAttributes" which are expecting a plist_t node as value and "SkipUninstall" expects int.

| Improve this Doc View Source

instproxy_client_options_add(PlistHandle, String, String, Byte)

Declaration
public void instproxy_client_options_add(PlistHandle client_options, string key, string value, byte term)
Parameters
Type Name Description
PlistHandle client_options
System.String key
System.String value
System.Byte term
| Improve this Doc View Source

instproxy_client_options_free(PlistHandle)

Frees client_options plist.

Declaration
public virtual void instproxy_client_options_free(PlistHandle clientOptions)
Parameters
Type Name Description
PlistHandle clientOptions
| Improve this Doc View Source

instproxy_client_options_new()

Creates a new client_options plist.

Declaration
public virtual PlistHandle instproxy_client_options_new()
Returns
Type Description
PlistHandle

A new plist_t of type PLIST_DICT.

| Improve this Doc View Source

instproxy_client_options_set_return_attributes(PlistHandle)

Adds attributes to the given client_options to filter browse results.

Declaration
public virtual void instproxy_client_options_set_return_attributes(PlistHandle clientOptions)
Parameters
Type Name Description
PlistHandle clientOptions
Remarks

The values passed are expected to be strings.

| Improve this Doc View Source

instproxy_client_start_service(iDeviceHandle, out InstallationProxyClientHandle, String)

Starts a new installation_proxy service on the specified device and connects to it.

Declaration
public virtual InstallationProxyError instproxy_client_start_service(iDeviceHandle device, out InstallationProxyClientHandle client, string label)
Parameters
Type Name Description
iDeviceHandle device

The device to connect to.

InstallationProxyClientHandle client

Pointer that will point to a newly allocated instproxy_client_t upon successful return. Must be freed using instproxy_client_free() after use.

System.String label

The label to use for communication. Usually the program name. Pass NULL to disable sending the label in requests to lockdownd.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success, or an INSTPROXY_E_* error code otherwise.

| Improve this Doc View Source

instproxy_command_get_name(PlistHandle, out String)

Gets the name from a command dictionary.

Declaration
public virtual void instproxy_command_get_name(PlistHandle command, out string name)
Parameters
Type Name Description
PlistHandle command

The dictionary describing the command.

System.String name

Pointer to store the name of the command.

| Improve this Doc View Source

instproxy_install(InstallationProxyClientHandle, String, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

Install an application on the device.

Declaration
public virtual InstallationProxyError instproxy_install(InstallationProxyClientHandle client, string pkgPath, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

System.String pkgPath
PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

Remarks

If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the command has to be handled inside the specified callback function.

| Improve this Doc View Source

instproxy_lookup(InstallationProxyClientHandle, ReadOnlyCollection<String>, PlistHandle, out PlistHandle)

Lookup information about specific applications from the device.

Declaration
public virtual InstallationProxyError instproxy_lookup(InstallationProxyClientHandle client, ReadOnlyCollection<string> appids, PlistHandle clientOptions, out PlistHandle result)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

System.Collections.ObjectModel.ReadOnlyCollection<System.String> appids

An array of bundle identifiers that MUST have a terminating NULL entry or NULL to lookup all.

PlistHandle clientOptions
PlistHandle result

Pointer that will be set to a plist containing a PLIST_DICT holding requested information about the application or NULL on errors.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

| Improve this Doc View Source

instproxy_lookup_archives(InstallationProxyClientHandle, PlistHandle, out PlistHandle)

List archived applications. This function runs synchronously.

Declaration
public virtual InstallationProxyError instproxy_lookup_archives(InstallationProxyClientHandle client, PlistHandle clientOptions, out PlistHandle result)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

PlistHandle clientOptions
PlistHandle result

Pointer that will be set to a plist containing a PLIST_DICT holding information about the archived applications found.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

| Improve this Doc View Source

instproxy_remove_archive(InstallationProxyClientHandle, String, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

Removes a previously archived application from the device. This function removes the ZIP archive from the 'ApplicationArchives' directory.

Declaration
public virtual InstallationProxyError instproxy_remove_archive(InstallationProxyClientHandle client, string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation proxy client

System.String appid

ApplicationIdentifier of the archived app to remove.

PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

Remarks

If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the command has to be handled inside the specified callback function.

| Improve this Doc View Source

instproxy_restore(InstallationProxyClientHandle, String, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

Restore a previously archived application on the device. This function is the counterpart to instproxy_archive.

Declaration
public virtual InstallationProxyError instproxy_restore(InstallationProxyClientHandle client, string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation proxy client

System.String appid

ApplicationIdentifier of the app to restore.

PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

Remarks

If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the command has to be handled inside the specified callback function.

| Improve this Doc View Source

instproxy_status_get_current_list(PlistHandle, ref UInt64, ref UInt64, ref UInt64, out PlistHandle)

Gets total and current item information from a browse response if available.

Declaration
public virtual void instproxy_status_get_current_list(PlistHandle status, ref ulong total, ref ulong currentIndex, ref ulong currentAmount, out PlistHandle list)
Parameters
Type Name Description
PlistHandle status

The dictionary status response to use.

System.UInt64 total

Pointer to store the total number of items.

System.UInt64 currentIndex
System.UInt64 currentAmount
PlistHandle list

Pointer to store a newly allocated plist with items. The caller is reponsible for freeing the list after use. If NULL is passed no list will be returned. If NULL is returned no list was found in the status.

| Improve this Doc View Source

instproxy_status_get_error(PlistHandle, out String, out String, ref UInt64)

Gets error name, code and description from a response if available.

Declaration
public virtual InstallationProxyError instproxy_status_get_error(PlistHandle status, out string name, out string description, ref ulong code)
Parameters
Type Name Description
PlistHandle status

The dictionary status response to use.

System.String name

Pointer to store the name of an error.

System.String description

Pointer to store error description text if available. The caller is reponsible for freeing the allocated buffer after use. If NULL is passed no description will be returned.

System.UInt64 code

Pointer to store the returned error code if available. If NULL is passed no error code will be returned.

Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS if no error is found or an INSTPROXY_E_* error value matching the error that ẃas found in the status.

| Improve this Doc View Source

instproxy_status_get_name(PlistHandle, out String)

Gets the name of a status.

Declaration
public virtual void instproxy_status_get_name(PlistHandle status, out string name)
Parameters
Type Name Description
PlistHandle status

The dictionary status response to use.

System.String name

Pointer to store the name of the status.

| Improve this Doc View Source

instproxy_status_get_percent_complete(PlistHandle, ref Int32)

Gets progress in percentage from a status if available.

Declaration
public virtual void instproxy_status_get_percent_complete(PlistHandle status, ref int percent)
Parameters
Type Name Description
PlistHandle status

The dictionary status response to use.

System.Int32 percent
| Improve this Doc View Source

instproxy_uninstall(InstallationProxyClientHandle, String, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

Uninstall an application from the device.

Declaration
public virtual InstallationProxyError instproxy_uninstall(InstallationProxyClientHandle client, string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation proxy client

System.String appid

ApplicationIdentifier of the app to uninstall

PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

Remarks

If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the command has to be handled inside the specified callback function.

| Improve this Doc View Source

instproxy_upgrade(InstallationProxyClientHandle, String, PlistHandle, InstallationProxyStatusCallBack, IntPtr)

Upgrade an application on the device. This function is nearly the same as instproxy_install; the difference is that the installation progress on the device is faster if the application is already installed.

Declaration
public virtual InstallationProxyError instproxy_upgrade(InstallationProxyClientHandle client, string pkgPath, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, IntPtr userData)
Parameters
Type Name Description
InstallationProxyClientHandle client

The connected installation_proxy client

System.String pkgPath
PlistHandle clientOptions
InstallationProxyStatusCallBack statusCallBack
System.IntPtr userData
Returns
Type Description
InstallationProxyError

INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occured.

Remarks

If a callback function is given (async mode), this function returns INSTPROXY_E_SUCCESS immediately if the status updater thread has been created successfully; any error occuring during the command has to be handled inside the specified callback function.

Implements

IInstallationProxyApi
  • Improve this Doc
  • View Source
Back to top Copyright (c) 2015-2017 Quamotion bvba. All rights reserved