indoorStateChangeEvents

fun GoogleMap.indoorStateChangeEvents(): Observable<IndoorStateChangeEvent>

Creates an Observable that emits whenever there is an indoor state change from a building.

The created Observable uses GoogleMap.setOnIndoorStateChangeListener to listen to indoor state changes. Since only one listener at a time is allowed, only one Observable at a time can be used.