Contents

ar_session_data_provider_state_change_handler_function_t

A handler function that the session calls when one or more data providers associated with it change state.

Declaration

typedef void (*)(void *, NSObject<OS_ar_data_providers> *, ar_data_provider_state_t, NSObject<OS_ar_error> *, NSObject<OS_ar_data_provider> *) ar_session_data_provider_state_change_handler_function_t;

Parameters

  • context:

    The application-defined context.

  • data_providers:

    The collection of data providers that changed state.

  • new_state:

    The data provider state that triggered the event.

  • error:

    An error associated with the state change, if any. Also see ar_session_error_code_t.

  • failed_data_provider:

    The data provider that failed and caused the error, if any.

See Also

Data providers