WatchOsPairedDeviceInfo class

Constructors

WatchOsPairedDeviceInfo(bool isPaired, bool isWatchAppInstalled, bool isComplicationEnabled, Uri? watchDirectoryURL)
WatchOsPairedDeviceInfo.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isComplicationEnabled bool
The value of this property is true when the app’s complication is installed on the active clock face. When the value of this property is false, calls to the transferUserInfo(userInfo: userInfo, isComplication: true) method fail immediately.
final
isPaired bool
The value of this property is true when the iPhone is paired to an Apple Watch or false when it is not.
final
isWatchAppInstalled bool
The user can choose to install only a subset of available apps on Apple Watch. The value of this property is true when the Watch app associated with the current iOS app is installed on the user’s Apple Watch or false when it is not installed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
watchDirectoryURL Uri?
You must activate the current session before accessing this URL. Use this directory to store preferences, files, and other data that is relevant to the specific instance of your Watch app running on the currently paired Apple Watch. If more than one Apple Watch is paired with the same iPhone, the URL in this directory changes when the active Apple Watch changes.
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