> For the complete documentation index, see [llms.txt](https://multiset.gitbook.io/multiset/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://multiset.gitbook.io/multiset/native-support/android-native/api-reference.md).

# API Reference

This section provides detailed API documentation for the MultiSet Android SDK components.

## Configuration

### [LocalizationConfig](/multiset/native-support/android-native/api-reference/localizationconfig.md)

A singleton object that provides centralized configuration for the MultiSet SDK localization behavior. Controls timing, quality, and feature settings for AR localization activities.

**Key Features:**

* Localization behavior settings (auto-localize, background localization, relocalization)
* Multi-frame capture configuration
* Confidence thresholds
* GPS hint integration
* Localization hints (map subset, position, floor height, search radius, 2D filtering)
* Runtime, persisted configuration via the in-app Settings dialog
* UI feedback options
* Image quality settings

### [ObjectTrackingConfig](/multiset/native-support/android-native/api-reference/objecttrackingconfig.md)

A singleton object that provides centralized configuration for the MultiSet SDK object tracking behavior. Controls how `ObjectTrackingActivity` detects and tracks pre-registered physical objects in AR.

**Key Features:**

* Object code registration (up to 10 objects)
* Auto-tracking and background tracking settings
* Confidence threshold filtering
* Re-tracking on AR loss
* Image quality settings

***

## Quick Reference

| Component                | Description                                             |
| ------------------------ | ------------------------------------------------------- |
| `LocalizationConfig`     | Centralized configuration for localization behavior     |
| `ObjectTrackingConfig`   | Centralized configuration for object tracking behavior  |
| `MultiSetSDK`            | Main SDK entry point for initialization                 |
| `MultiSetConfig.Builder` | Configuration builder for SDK setup                     |
| `MultiSetCallback`       | Interface for SDK event callbacks                       |
| `LocalizationResult`     | Result object containing pose data from localization    |
| `ObjectTrackingResult`   | Result object containing pose data from object tracking |
| `TrackingState`          | Enum for AR tracking states                             |

***

## MultiSetCallback Interface

The full set of callbacks delivered by the SDK:

| Callback                          | Trigger                                  |
| --------------------------------- | ---------------------------------------- |
| `onSDKReady()`                    | SDK initialized, authentication starting |
| `onAuthenticationSuccess()`       | Authentication successful                |
| `onAuthenticationFailure(error)`  | Authentication failed                    |
| `onLocalizationSuccess(result)`   | Localization succeeded                   |
| `onLocalizationFailure(error)`    | Localization failed                      |
| `onTrackingStateChanged(state)`   | AR tracking state changed                |
| `onObjectTrackingSuccess(result)` | Object tracked successfully              |
| `onObjectTrackingFailure(error)`  | Object tracking failed                   |

***

## Related

* [Sample Activities](/multiset/native-support/android-native/sample-activities.md)
* [Android Native Overview](/multiset/native-support/android-native.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://multiset.gitbook.io/multiset/native-support/android-native/api-reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
