SdpConfig class
Platform-specific configuration for UniversalBluetooth.setupSdp.
Only the entry for the current platform is used, so a cross-platform app can build a single SdpConfig and hand it to UniversalBluetooth.setupSdp without knowing which platform it is running on.
This type deliberately lives in Dart rather than in the Pigeon definitions: the native channels take only their own platform's config (AndroidSdpConfig or MacSdpConfig), so neither platform's generated code has to carry the other platform's type.
Constructors
- SdpConfig({MacSdpConfig? macSdpConfig, AndroidSdpConfig? androidSdpConfig})
Properties
- androidSdpConfig ↔ AndroidSdpConfig?
-
The Android SDP record, used when registering on Android.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- macSdpConfig ↔ MacSdpConfig?
-
The macOS SDP record, used when registering on macOS.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override