WKInterfaceDevice
WKInterfaceDevice(IntPtr)
WKInterfaceDevice(NSObjectFlag)
BatteryLevel
BatteryMonitoringEnabled
BatteryState
CachedImages
ClassHandle
CrownOrientation
CurrentDevice
IdentifierForVendor
IsWaterLockEnabled
LayoutDirection
LocalizedModel
Model
Name
PreferredContentSizeCategory
PreferredContentSizeCategoryString
ScreenBounds
ScreenScale
SupportsAudioStreaming
SystemName
SystemVersion
WaterResistanceRating
WeakCachedImages
WristLocation
AddCachedImage(NSData, String)
AddCachedImage(UIImage, String)
CheckSystemVersion(Int32, Int32)
CheckSystemVersion(Int32, Int32, Int32)
EnableWaterLock()
GetInterfaceLayoutDirection(WKInterfaceSemanticContentAttribute)
PlayHaptic(WKHapticType)
RemoveAllCachedImages()
RemoveCachedImage(String)
xamarinwatchos
namespace WatchKit
{
[Introduced(PlatformName.iOS, 8, 2, PlatformArchitecture.All, null)]
[Register("WKInterfaceDevice", true)]
[Unavailable(PlatformName.iOS, PlatformArchitecture.All, null)]
public class WKInterfaceDevice : NSObject
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.WatchOS, 2, 0, PlatformArchitecture.All, null)]
public virtual string! SystemName
{
[Export("systemName")]
[Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.WatchOS, 2, 0, PlatformArchitecture.All, null)]
get;
}
}
}
Xamarin iOS | 0.0 |
---|---|
Xamarin watchOS | 0.0 |
Information specific to xamarinwatchos | |
Assembly | Xamarin.WatchOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API