ar_session_set_data_provider_state_change_handler_f
Sets the handler function for responding to a state change of one or more data providers.
Declaration
extern void ar_session_set_data_provider_state_change_handler_f(ar_session_t session, dispatch_queue_t queue, void *context, ar_session_data_provider_state_change_handler_function_t data_provider_state_change_handler_function);Parameters
- session:
The
ar_session_tinstance. - queue:
The queue on which the function will be called. Passing NULL will default to the main queue.
- context:
The application-defined context parameter to pass to the function.
- data_provider_state_change_handler_function:
The data provider state change handler function.
Discussion
See Also
Sessions
ar_session_tar_session_createar_session_create_with_devicear_session_query_authorization_resultsar_session_query_authorization_results_far_session_request_authorizationar_session_request_authorization_far_session_runar_session_set_authorization_update_handlerar_session_set_authorization_update_handler_far_session_copy_data_providersar_session_set_data_provider_state_change_handlerar_session_data_provider_state_change_handler_tar_session_stopar_device_t