TIM SDK
TIM API C
|
|
Show signature capture response.
Object type show_signature_capture_response.
Functions | |
ta_e_result_code_t | ta_show_signature_capture_response_get_reason (ta_object_t response, ta_e_reason_t *reason) |
Reason for closing dialog. More... | |
ta_e_result_code_t | ta_show_signature_capture_response_get_image_file_format (ta_object_t response, ta_e_image_file_format_t *image_file_format) |
File format of image data. More... | |
ta_e_result_code_t | ta_show_signature_capture_response_get_image_width (ta_object_t response, int *image_width) |
Image width in pixels. More... | |
ta_e_result_code_t | ta_show_signature_capture_response_get_image_height (ta_object_t response, int *image_height) |
Image height in pixels. More... | |
ta_e_result_code_t | ta_show_signature_capture_response_get_image_data (ta_object_t response, ta_object_t *image_data) |
Image data. More... | |
ta_e_result_code_t ta_show_signature_capture_response_get_image_data | ( | ta_object_t | response, |
ta_object_t * | image_data | ||
) |
Image data.
See ta_string_get_length for the size of the data and ta_string_get_pointer to get access to the data. Data can contain 0-bytes so always use the string length.
[in] | response | Object instance of type show_signature_capture_response. |
[out] | image_data | Pointer to variable to write object instance to. Object instance is of type string and is not retained. |
ta_c_rc_ok | Object instance written to image_data. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type show_signature_capture_response. |
ta_c_rc_invalid_argument | image_data is null-pointer. |
ta_e_result_code_t ta_show_signature_capture_response_get_image_file_format | ( | ta_object_t | response, |
ta_e_image_file_format_t * | image_file_format | ||
) |
File format of image data.
[in] | response | Object instance of type show_signature_capture_response. |
[out] | image_file_format | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to image_file_format. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type show_signature_capture_response. |
ta_c_rc_invalid_argument | image_file_format is null-pointer. |
ta_e_result_code_t ta_show_signature_capture_response_get_image_height | ( | ta_object_t | response, |
int * | image_height | ||
) |
Image height in pixels.
[in] | response | Object instance of type show_signature_capture_response. |
[out] | image_height | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to image_height. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type show_signature_capture_response. |
ta_c_rc_invalid_argument | image_height is null-pointer. |
ta_e_result_code_t ta_show_signature_capture_response_get_image_width | ( | ta_object_t | response, |
int * | image_width | ||
) |
Image width in pixels.
[in] | response | Object instance of type show_signature_capture_response. |
[out] | image_width | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to image_width. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type show_signature_capture_response. |
ta_c_rc_invalid_argument | image_width is null-pointer. |
ta_e_result_code_t ta_show_signature_capture_response_get_reason | ( | ta_object_t | response, |
ta_e_reason_t * | reason | ||
) |
Reason for closing dialog.
[in] | response | Object instance of type show_signature_capture_response. |
[out] | reason | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to reason. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type show_signature_capture_response. |
ta_c_rc_invalid_argument | reason is null-pointer. |