<BlockSwitcher>
<Block name="Java">

```java
Amplify.DataStore.start(
    () -> Log.i("MyAmplifyApp", "DataStore started"),
    error -> Log.e("MyAmplifyApp", "Error starting DataStore", error)
);
```

</Block>
<Block name="Kotlin - Callbacks">

```kotlin
Amplify.DataStore.start(
    { Log.i("MyAmplifyApp", "DataStore started") },
    { Log.e("MyAmplifyApp", "Error starting DataStore", it) }
)
```

</Block>
<Block name="Kotlin - Coroutines">

```kotlin
try {
    Amplify.DataStore.start()
    Log.i("MyAmplifyApp", "DataStore started") 
} catch (error: DataStoreException) {
    Log.e("MyAmplifyApp", "Error starting DataStore", error)
}
```

</Block>
<Block name="RxJava">

```java
RxAmplify.DataStore.start()
    .subscribe(
        () -> Log.i("MyAmplifyApp", "DataStore started"),
        error -> Log.e("MyAmplifyApp", "Error starting DataStore", error)
    );
}
```

</Block>
</BlockSwitcher>
