/// <summary>
 /// Removes a previously archived application from the device.
 /// This function removes the ZIP archive from the 'ApplicationArchives'
 /// directory.
 /// </summary>
 /// <param name="client">
 /// The connected installation proxy client
 /// </param>
 /// <param name="appid">
 /// ApplicationIdentifier of the archived app to remove.
 /// </param>
 /// <param name="client_options">
 /// The client options to use, as PLIST_DICT, or NULL.
 /// Currently there are no known client options, so passing NULL is fine.
 /// </param>
 /// <param name="status_cb">
 /// Callback function for progress and status information. If
 /// NULL is passed, this function will run synchronously.
 /// </param>
 /// <param name="user_data">
 /// Callback data passed to status_cb.
 /// </param>
 /// <returns>
 /// INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
 /// an error occured.
 /// </returns>
 /// <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.
 /// </remarks>
 public virtual InstallationProxyError instproxy_remove_archive(InstallationProxyClientHandle client, string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, System.IntPtr userData)
 {
     return(InstallationProxyNativeMethods.instproxy_remove_archive(client, appid, clientOptions, statusCallBack, userData));
 }
 /// <summary>
 /// 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.
 /// </summary>
 /// <param name="client">
 /// The connected installation_proxy client
 /// </param>
 /// <param name="pkg_path">
 /// Path of the installation package (inside the AFC jail)
 /// </param>
 /// <param name="client_options">
 /// The client options to use, as PLIST_DICT, or NULL.
 /// Valid options include:
 /// "iTunesMetadata" -> PLIST_DATA
 /// "ApplicationSINF" -> PLIST_DATA
 /// "PackageType" -> "Developer"
 /// If PackageType -> Developer is specified, then pkg_path points to
 /// an .app directory instead of an install package.
 /// </param>
 /// <param name="status_cb">
 /// Callback function for progress and status information. If
 /// NULL is passed, this function will run synchronously.
 /// </param>
 /// <param name="user_data">
 /// Callback data passed to status_cb.
 /// </param>
 /// <returns>
 /// INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
 /// an error occured.
 /// </returns>
 /// <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.
 /// </remarks>
 public virtual InstallationProxyError instproxy_upgrade(InstallationProxyClientHandle client, string pkgPath, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, System.IntPtr userData)
 {
     return(InstallationProxyNativeMethods.instproxy_upgrade(client, pkgPath, clientOptions, statusCallBack, userData));
 }
Exemple #3
0
 public static extern InstallationProxyError instproxy_remove_archive(InstallationProxyClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, System.IntPtr userData);
 /// <summary>
 /// List pages of installed applications in a callback.
 /// </summary>
 /// <param name="client">
 /// The connected installation_proxy client
 /// </param>
 /// <param name="client_options">
 /// The client options to use, as PLIST_DICT, or NULL.
 /// Valid client options include:
 /// "ApplicationType" -> "System"
 /// "ApplicationType" -> "User"
 /// "ApplicationType" -> "Internal"
 /// "ApplicationType" -> "Any"
 /// </param>
 /// <param name="status_cb">
 /// Callback function to process each page of application
 /// information. Passing a callback is required.
 /// </param>
 /// <param name="user_data">
 /// Callback data passed to status_cb.
 /// </param>
 /// <returns>
 /// INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
 /// an error occured.
 /// </returns>
 public virtual InstallationProxyError instproxy_browse_with_callback(InstallationProxyClientHandle client, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, System.IntPtr userData)
 {
     return(InstallationProxyNativeMethods.instproxy_browse_with_callback(client, clientOptions, statusCallBack, userData));
 }
Exemple #5
0
 public static extern InstallationProxyError instproxy_browse_with_callback(InstallationProxyClientHandle client, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, System.IntPtr userData);