Contents

WKInterfaceDevice

An object that provides information about the user’s Apple Watch.

Declaration

class WKInterfaceDevice

Overview

You can use the information from WKInterfaceDevice to make decisions about the content you display in your app. You can also use this object to play haptic feedback when your app is active.

Do not subclass or create instances of this class yourself. Always call the current() class method to get the shared device object.

Topics

Accessing the Shared Device Object

Reading the Screen Information

Reading the Device Settings

Reading System Information

Accessing the Layout Direction

Reading Information About the Battery

Accessing Water Resistance and Lock

Playing Haptic Feedback

Streaming Audio

Validating In-App Purchases

See Also

App structure