AndroidSpecialParameter class

Some parameter just use in Android All this parameters can see in

Constructors

AndroidSpecialParameter({bool disableNotification = false, bool? keepBond, bool? packetReceiptNotificationsEnabled, bool? restoreBond, bool startAsForegroundService = true})
const

Properties

disableNotification bool
Sets whether the progress notification in the status bar should be disabled. Defaults to false.
final
hashCode int
The hash code for this object.
no setterinherited
keepBond bool?
Sets whether the bond information should be preserved after flashing new application. This feature requires DFU Bootloader version 0.6 or newer (SDK 8.0.0+). Please see the {@link DfuBaseService#EXTRA_KEEP_BOND} for more information regarding requirements. Remember that currently updating the Soft Device will remove the bond information.
final
packetReceiptNotificationsEnabled bool?
Enables or disables the Packet Receipt Notification (PRN) procedure.
final
restoreBond bool?
Sets whether the bond should be created after the DFU is complete. Please see the {@link DfuBaseService#EXTRA_RESTORE_BOND} for more information regarding requirements.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAsForegroundService bool
Sets whether the DFU service should be started as a foreground service. By default it's true. According to https://developer.android.com/about/versions/oreo/background.html the background service may be killed by the system on Android Oreo after user quits the application so it is recommended to keep it as a foreground service (default) at least on Android Oreo+.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited