eddystones property

List<Eddystone> get eddystones
override

List of eddystones, attached to this sublocation Eddystone.

Example:

// Get Eddystone beacons
List<Eddystone> eddystones = sublocation.getEddystones();
print('Number of Eddystone beacons: ${eddystones.length}');

Implementation

List<Eddystone> get eddystones {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Pointer<Void> Function(Pointer<Void>),
        Pointer<Void> Function(Pointer<Void>)
      >('navigine_sdk_flutter_Sublocation_eddystones_get'));

    final _eddystonesHandle = _getFfi(this.ptr);
    final _result = ListEddystoneImpl.fromNativePtr(_eddystonesHandle);
    exception.checkCallResult();
    return _result;
}