NearbyMessageContentType enum
Type of the message.
If textRequest, it will be a text message. If filesRequest, it will be a files pack request. After accepting the request, user can get files bytes stream from the connected device.
Constructors
- NearbyMessageContentType()
-
const
Values
- textRequest → const NearbyMessageContentType
- textResponse → const NearbyMessageContentType
- filesRequest → const NearbyMessageContentType
- filesResponse → const NearbyMessageContentType
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isFilesRequest → bool
-
Checks if this is NearbyMessageContentType.filesRequest
no setter
- isFilesResponse → bool
-
Checks if this is NearbyMessageContentType.filesResponse
no setter
- isTextRequest → bool
-
Checks if this is NearbyMessageContentType.textRequest
no setter
- isTextResponse → bool
-
Checks if this is NearbyMessageContentType.textResponse
no setter
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
NearbyMessageContentType> - A constant List of the values in this enum, in order of their declaration.