MeshConfigInternal extension

Hides internal MeshConfig methods from the public API (this is not marked as show in objectbox.dart) while remaining accessible by other libraries in this package and to other packages importing the internal APIs (internal.dart).

on

Methods

addNetworkHandle(int networkHandle) → void

Available on MeshConfig, provided by the MeshConfigInternal extension

Adds a callback-driven mesh network created with the C mesh network API (an OBX_mesh_network, e.g. by the MeshNetwork class of ObjectBox Swift) to a mesh config.
addNetworkInternalHandle(int networkInternalHandle) → void

Available on MeshConfig, provided by the MeshConfigInternal extension

Adds a platform-specific native network to a mesh config.
build() → Pointer<OBX_mesh_options>

Available on MeshConfig, provided by the MeshConfigInternal extension

Builds the native mesh options object from this configuration.

Static Methods

createMeshConfig(String meshId, {int? maxConnectionCount, int? backoffMillis, int? evictionBackoffMillis, int? randomSeed, int? requestTimeoutMillis, int? advertisingDelayMillis, int? advertisingRetryMillis, int? advertisingRetryMaxMillis, int? connectDelayMillis, int? initialDiscoveryDurationSeconds, int? discoveryDurationSeconds, int? discoveryPauseSeconds, int? discoveryPauseJitterSeconds, int? txLogBatchSizeKb, int? txLogBatchMaxCount, int? txLogMaxAgeSeconds}) → MeshConfig

Available on MeshConfig, provided by the MeshConfigInternal extension

Creates a mesh sync configuration. See MeshConfig field documentation for details on each option.