setSublocationId method
Method is used to switch the location view between sublocations (e.g., floors).
id Sublocation unique identifier Sublocation.
Example:
// Set sublocation ID to switch between floors
_locationWindow!.setSublocationId(1);
print("Set sublocation ID to 1 (first floor)");
Implementation
@override
void setSublocationId(int id) {
final _setSublocationIdFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, Int32),
void Function(Pointer<Void>, int)
>('navigine_sdk_flutter_LocationWindow_setSublocationId__Id'));
_setSublocationIdFfi(this.ptr, id);
exception.checkCallResult();
}