diff options
Diffstat (limited to 'include/libimobiledevice')
| -rw-r--r-- | include/libimobiledevice/preboard.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/libimobiledevice/preboard.h b/include/libimobiledevice/preboard.h index dc4e5f3..60b8e26 100644 --- a/include/libimobiledevice/preboard.h +++ b/include/libimobiledevice/preboard.h | |||
| @@ -140,6 +140,17 @@ preboard_error_t preboard_receive_with_timeout(preboard_client_t client, plist_t | |||
| 140 | * Can be NULL if you want to handle receiving messages in your own code. | 140 | * Can be NULL if you want to handle receiving messages in your own code. |
| 141 | * @param user_data User data for callback function or NULL. | 141 | * @param user_data User data for callback function or NULL. |
| 142 | * | 142 | * |
| 143 | * The callback or following preboard_receive* invocations will usually | ||
| 144 | * receive a dictionary with: | ||
| 145 | * { ShowDialog: true } | ||
| 146 | * If the user does not enter a passcode, after 2 minutes a timeout is reached | ||
| 147 | * and the device sends a dictionary with: | ||
| 148 | * { Timeout: true } | ||
| 149 | * followed by { HideDialog: true } | ||
| 150 | * If the user aborts the passcode entry, the device sends a dictionary: | ||
| 151 | * { Error: 1, ErrorString: <error string> } | ||
| 152 | * followed by { HideDialog: true } | ||
| 153 | * | ||
| 143 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, | 154 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, |
| 144 | * PREBOARD_E_INVALID_ARG when client is invalid, | 155 | * PREBOARD_E_INVALID_ARG when client is invalid, |
| 145 | * or a PREBOARD_E_* error code on error. | 156 | * or a PREBOARD_E_* error code on error. |
| @@ -155,6 +166,12 @@ preboard_error_t preboard_create_stashbag(preboard_client_t client, plist_t mani | |||
| 155 | * Can be NULL if you want to handle receiving messages in your own code. | 166 | * Can be NULL if you want to handle receiving messages in your own code. |
| 156 | * @param user_data User data for callback function or NULL. | 167 | * @param user_data User data for callback function or NULL. |
| 157 | * | 168 | * |
| 169 | * The callback or following preboard_receive* invocations will usually | ||
| 170 | * receive a dictionary with: | ||
| 171 | * { StashbagCommitComplete: true } | ||
| 172 | * or in case of an error: | ||
| 173 | * { StashbagCommitComplete: 0, Error: 1, <optional> ErrorString: <error string> } | ||
| 174 | * | ||
| 158 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, | 175 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, |
| 159 | * PREBOARD_E_INVALID_ARG when client is invalid, | 176 | * PREBOARD_E_INVALID_ARG when client is invalid, |
| 160 | * or a PREBOARD_E_* error code on error. | 177 | * or a PREBOARD_E_* error code on error. |
