# Android

## Additions

* `Trip.Expansion` includes few more expansions

```kotlin
/**
* Expand vehicle
*/
VEHICLE,

/**
* Expand include trip start and end points
*/
POIS,

/**
* Expand raw only data
*/
RAW_ONLY,

/**
* Expand include device id
*/
DEVICE,

/**
* Expand training status of the driver/passenger
*/
USER_TRAINING_STATUS,

/**
* Expand filters by association date
*/
FILTER_BY_ASSOCIATION_DATE
```

* Initialize DsDevice with `vehicleId` and associate the device using DsDeviceManager.associateDevice API for adding vehicle id to trip files for wedge solutions.
* TripService API Changes:
  * `TripService.fetch` and `TripService.fetchAll` now accept an additional roles parameter.
  * Use this to filter trips by `roles` when fetching.
* AccountRole Enum Expanded:
  * Two new cases have been added to the AccountRole enum:
  * namedDriver (for the "`NAMED_DRIVER`" role)
  * nonDrivingOwner (for the "`NON_DRIVING_OWNER`" role)
* Automatic Wedge Association Feature. Leare more here. [Link](/automatic-wedge-association.md)
* Learn about the new WedgeService API. [Link](broken://pages/CmGuUBJmyf6UMOb9yuwe)

## Breaking Changes

* Trip.Expansion Updates:
  * The `GEOMETRY` property has been removed from `Trip.Expansion`. Please use the `POINTS` property instead.
* The DsDevice's batteryLevel property type is changed from Float to Int
  * `var batteryLevel: Int?`

## Limitations/Known issues

* Trip recording will continue uninterrupted after upgrading to SDK 1.25.0. However, existing trip files will not automatically include vehicle IDs. To add vehicle IDs to trip files for wedge solutions, initialize DsDevice with `vehicleId` and associate the device using DsDeviceManager.associateDevice API


---

# Agent Instructions: 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:

```
GET https://sdk.ims.tech/releases/1.25.0/android.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
