WatchAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute indicating when an API was first introduced in watchOS.
public sealed class WatchAttribute : ObjCRuntime.IntroducedAttribute
type WatchAttribute = class
inherit IntroducedAttribute
- Inheritance
Remarks
This class is a shortcut to create an AvailabilityAttribute instance.
Constructors
WatchAttribute(Byte, Byte, Boolean) |
Initializes a new availability attribute for watchOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures. |
WatchAttribute(Byte, Byte, Byte, Boolean) |
Initializes a new availability attribute for watchOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures. |
WatchAttribute(Byte, Byte, Byte) |
Initializes a new availability attribute for watchOS with the specified architecture, major, minor and subminor versions. |
WatchAttribute(Byte, Byte) |
Initializes a new availability attribute for watchOS with the specified architecture, major and minor versions. |
Properties
Architecture |
The architectures the attribute applies to (either only 32-bit, only 64-bit or both 32-bit and 64-bit architectures). (Inherited from AvailabilityBaseAttribute) |
AvailabilityKind |
The type of availability information this attribute contains. (Inherited from AvailabilityBaseAttribute) |
Message |
Additional information related to the availability information. (Inherited from AvailabilityBaseAttribute) |
Platform |
The platform this availability attribute applies to. (Inherited from AvailabilityBaseAttribute) |
Version |
The version when the API was introduced, deprecated, obsoleted or became unavailable. (Inherited from AvailabilityBaseAttribute) |
Methods
ToString() |
Returns a human readable version of the availability attribute. (Inherited from AvailabilityBaseAttribute) |