NotificationException class

Exception thrown by notification operations when a device-related error occurs.

Catch this in any notification call (e.g. enable(), notify()) to determine the specific NotificationResults reason for the failure.

See: https://techdocs.zebra.com/emdk-for-android/latest/api/reference/com/symbol/emdk/notification/NotificationException/

Implemented types

Constructors

NotificationException(NotificationResults result, [String? message])
const
NotificationException.fromMap(Map<String, dynamic> map)
Creates a NotificationException from a Map received via the platform channel.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
Optional human-readable message accompanying the exception.
final
result NotificationResults
The specific result code describing why the exception was thrown.
final
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
toMap() Map<String, dynamic>
Converts this NotificationException to a Map suitable for sending over the platform channel.
toString() String
A string representation of this object.
override

Operators

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