KAdvertisingSetting class
Constructors
- KAdvertisingSetting({String? name, bool connectable = true, int timeout = 0, int advertiseMode = ADVERTISE_MODE_BALANCED, int txPowerLevel = ADVERTISE_TX_POWER_MEDIUM})
-
KAdvertisingSetting.fromJson(Map<
String, dynamic> json)
Properties
- advertiseMode ↔ int
-
getter/setter pair
- connectable ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout ↔ int
-
getter/setter pair
- txPowerLevel ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ADVERTISE_MODE_BALANCED → const int
- ADVERTISE_MODE_LOW_LATENCY → const int
- ADVERTISE_MODE_LOW_POWER → const int
- ADVERTISE_TX_POWER_HIGH → const int
- ADVERTISE_TX_POWER_LOW → const int
- ADVERTISE_TX_POWER_MEDIUM → const int
- ADVERTISE_TX_POWER_ULTRA_LOW → const int