Objective-CclassWatchKit

@interface WKInterfaceDevice : NSObject

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 70

  1. method+ (id)currentDevice;
  2. ivarfloat _batteryLevel;+0xc
  3. ivarBOOL _batteryMonitoringEnabled;+0x8
  4. ivarlong long _batteryState;+0x18
  5. ivarlong long _crownOrientation;+0x38
  6. ivarNSString *_deviceLocalizedModel;+0x58
  7. ivarNSString *_deviceModel;+0x50
  8. ivarNSString *_deviceName;+0x48
  9. ivarNSString *_deviceSystemName;+0x60
  10. ivarNSString *_deviceSystemVersion;+0x40
  11. ivarlong long _layoutDirection;+0x28
  12. ivarNSString *_preferredContentSizeCategory;+0x20
  13. ivarstruct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _screenBounds;+0x68
  14. ivardouble _screenScale;+0x10
  15. ivarlong long _wristLocation;+0x30
  16. method- (void).cxx_destruct;
  17. method- (BOOL)addCachedImage:(id)arg0 name:(id)arg1;
  18. method- (BOOL)addCachedImageWithData:(id)arg0 name:(id)arg1;
  19. method- (float)batteryLevel;
  20. method- (long long)batteryState;
  21. method- (id)cachedImages;
  22. method- (long long)crownOrientation;
  23. method- (id)deviceLocalizedModel;
  24. method- (id)deviceModel;
  25. method- (id)deviceName;
  26. method- (id)deviceSystemName;
  27. method- (id)deviceSystemVersion;
  28. method- (BOOL)isBatteryMonitoringEnabled;
  29. method- (long long)layoutDirection;
  30. method- (id)localizedModel;
  31. method- (id)model;
  32. method- (id)name;
  33. method- (void)playHaptic:(long long)arg0;
  34. method- (id)preferredContentSizeCategory;
  35. method- (void)removeAllCachedImages;
  36. method- (void)removeCachedImageWithName:(id)arg0;
  37. method- (CGRect)screenBounds;
  38. method- (double)screenScale;
  39. method- (void)setBatteryMonitoringEnabled:(BOOL)arg0;
  40. method- (void)setDeviceLocalizedModel:(id)arg0;
  41. method- (void)setDeviceModel:(id)arg0;
  42. method- (void)setDeviceName:(id)arg0;
  43. method- (void)setDeviceSystemName:(id)arg0;
  44. method- (void)setDeviceSystemVersion:(id)arg0;
  45. method- (void)setPreferredContentSizeCategory:(id)arg0;
  46. method- (void)setScreenBounds:(CGRect)arg0;
  47. method- (void)setScreenScale:(double)arg0;
  48. method- (id)systemName;
  49. method- (id)systemVersion;
  50. method- (long long)wristLocation;
  51. property@property(readonly, nonatomic) float batteryLevel;
  52. property@property(getter=isBatteryMonitoringEnabled, nonatomic) BOOL batteryMonitoringEnabled;
  53. property@property(readonly, nonatomic) long long batteryState;
  54. property@property(readonly, nonatomic) NSDictionary *cachedImages;
  55. property@property(readonly, nonatomic) long long crownOrientation;
  56. property@property(copy, nonatomic) NSString *deviceLocalizedModel;
  57. property@property(copy, nonatomic) NSString *deviceModel;
  58. property@property(copy, nonatomic) NSString *deviceName;
  59. property@property(copy, nonatomic) NSString *deviceSystemName;
  60. property@property(copy, nonatomic) NSString *deviceSystemVersion;
  61. property@property(readonly, nonatomic) long long layoutDirection;
  62. property@property(readonly, copy, nonatomic) NSString *localizedModel;
  63. property@property(readonly, copy, nonatomic) NSString *model;
  64. property@property(readonly, copy, nonatomic) NSString *name;
  65. property@property(copy, nonatomic) NSString *preferredContentSizeCategory;
  66. property@property(nonatomic) CGRect screenBounds;
  67. property@property(nonatomic) double screenScale;
  68. property@property(readonly, copy, nonatomic) NSString *systemName;
  69. property@property(readonly, copy, nonatomic) NSString *systemVersion;
  70. property@property(readonly, nonatomic) long long wristLocation;
@interface WKInterfaceDevice : NSObject {
    BOOL _batteryMonitoringEnabled;
    float _batteryLevel;
    double _screenScale;
    long long _batteryState;
    NSString *_preferredContentSizeCategory;
    long long _layoutDirection;
    long long _wristLocation;
    long long _crownOrientation;
    NSString *_deviceSystemVersion;
    NSString *_deviceName;
    NSString *_deviceModel;
    NSString *_deviceLocalizedModel;
    NSString *_deviceSystemName;
    struct CGRect _screenBounds;
}

@property (nonatomic) struct CGRect screenBounds;
@property (nonatomic) double screenScale;
@property (nonatomic, copy) NSString *preferredContentSizeCategory;
@property (nonatomic, copy) NSString *deviceSystemVersion;
@property (nonatomic, copy) NSString *deviceName;
@property (nonatomic, copy) NSString *deviceModel;
@property (nonatomic, copy) NSString *deviceLocalizedModel;
@property (nonatomic, copy) NSString *deviceSystemName;
@property (nonatomic, readonly) NSDictionary *cachedImages;
@property (nonatomic, getter=isBatteryMonitoringEnabled) BOOL batteryMonitoringEnabled;
@property (nonatomic, readonly) float batteryLevel;
@property (nonatomic, readonly) long long batteryState;
@property (nonatomic, readonly) long long layoutDirection;
@property (nonatomic, readonly) long long wristLocation;
@property (nonatomic, readonly) long long crownOrientation;
@property (nonatomic, copy, readonly) NSString *systemVersion;
@property (nonatomic, copy, readonly) NSString *name;
@property (nonatomic, copy, readonly) NSString *model;
@property (nonatomic, copy, readonly) NSString *localizedModel;
@property (nonatomic, copy, readonly) NSString *systemName;

+ (id)currentDevice;

- (void)setScreenScale:(double)screenScale;
- (id)model;
- (double)screenScale;
- (float)batteryLevel;
- (id)systemVersion;
- (struct CGRect)screenBounds;
- (id)preferredContentSizeCategory;
- (long long)layoutDirection;
- (void).cxx_destruct;
- (id)deviceModel;
- (id)name;
- (void)setPreferredContentSizeCategory:(id)preferredContentSizeCategory;
- (id)systemName;
- (id)deviceName;
- (void)setDeviceName:(id)deviceName;
- (long long)batteryState;
- (BOOL)isBatteryMonitoringEnabled;
- (id)localizedModel;
- (void)setBatteryMonitoringEnabled:(BOOL)batteryMonitoringEnabled;
- (void)setScreenBounds:(struct CGRect)screenBounds;
- (void)setDeviceModel:(id)deviceModel;
- (id)deviceLocalizedModel;
- (id)deviceSystemVersion;
- (long long)crownOrientation;
- (long long)wristLocation;
- (BOOL)addCachedImage:(id)addCachedImage name:(id)name;
- (BOOL)addCachedImageWithData:(id)data name:(id)name;
- (id)cachedImages;
- (id)deviceSystemName;
- (void)playHaptic:(long long)playHaptic;
- (void)removeAllCachedImages;
- (void)removeCachedImageWithName:(id)name;
- (void)setDeviceLocalizedModel:(id)deviceLocalizedModel;
- (void)setDeviceSystemName:(id)deviceSystemName;
- (void)setDeviceSystemVersion:(id)deviceSystemVersion;

@end