# Recording Data

The GIZO SDK can automatically detect trips and start recording them if `autoStart` has been enabled in the GIZO SDK options described in the [Intiallization](https://docs.artificient.de/usage/ios/initialization) section. However, if you intend to allow the user to manually record a trip, the method below can be used to achieve this:

```swift
import GizoSDK
```

```swift
var noCameraSetting = GizoNoCameraSetting()
noCameraSetting.stopRecordingSetting = GizoStopRecordingSetting(stopRecordingOnLowBatteryLevel: 10)
try Gizo.shared.startRecording(noCameraSetting)
```

#### Setting Parameters

**stopRecordingOnLowBatteryLevel:** an integer indicating the battery level (in percentage) below which the recording of the trip must be terminated. For more information, see the [Power Saving Process Overview](https://docs.artificient.de/appendix/power-saving-process-overview) page.

GIZO SDK can automatically determine the end of a trip and terminate the recording if `autoStop` has been enabled in the GIZO SDK options described in the [Intiallization](https://docs.artificient.de/usage/ios/initialization) section. However, if you want to allow the user stop a trip manually or alternatively programmatically under certain conditions, the following method can be used:

```swift
Gizo.shared.stopRecording()
```

<mark style="color:red;">**NOTE:**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`autoStart`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**and**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`autoStop`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**function independently. Therefore, even recordings that are initiated manually can be stopped automatically if the**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`autoStop`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**is enabled.**</mark>
