ConnectPlatform class
Platform identity is explicit so commons can evaluate role availability
from one policy table. Presence of an enum value only reserves a stable
wire identity — it does NOT imply Connect support. Commons
ConnectPlatformPolicy (rac_connect.cpp) is the sole authority for which
platforms may host or client. Platform SDKs must query/enforce that table
rather than hardcoding the matrix in UI or transport code.
Current shipping matrix (see commons policy): Host: macOS Client: iOS, iPadOS, Android Reserved / not shipped: React Native, Flutter, Web, Windows
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → ConnectPlatform?
Constants
- CONNECT_PLATFORM_ANDROID → const ConnectPlatform
- Android is an enabled Connect client. Remaining values are reserved so follow-on SDK integrations avoid a later wire-format migration.
- CONNECT_PLATFORM_FLUTTER → const ConnectPlatform
- CONNECT_PLATFORM_IOS → const ConnectPlatform
- CONNECT_PLATFORM_IPADOS → const ConnectPlatform
- CONNECT_PLATFORM_MACOS → const ConnectPlatform
- CONNECT_PLATFORM_REACT_NATIVE → const ConnectPlatform
- CONNECT_PLATFORM_UNSPECIFIED → const ConnectPlatform
- CONNECT_PLATFORM_WEB → const ConnectPlatform
- CONNECT_PLATFORM_WINDOWS → const ConnectPlatform
- Reserved so adding a Windows host adapter does not require a platform-identity wire migration. Host and client remain PLANNED until native transport, discovery, firewall handling, and E2E validation ship.
-
values
→ const List<
ConnectPlatform>