---
title: activationState
framework: watchconnectivity
role: symbol
role_heading: Instance Property
path: watchconnectivity/wcsession/activationstate
---

# activationState

The current activation state of the session.

## Declaration

```swift
var activationState: WCSessionActivationState { get }
```

## Discussion

Discussion Check the value of this property before attempting to transfer data or files using the methods of this object. When the value is WCSessionActivationState.activated you may initiate the transfer of data and files normally. If it is any other value, do not initiate any transfers. The value of this property is valid even when the session itself is not activated, so you can access it at any time. Use the  sessionDidBecomeInactive(_:) and sessionDidDeactivate(_:) methods of your session delegate to monitor changes in the session’s activation state. You can also use key-value observing to monitor changes to this property.

## See Also

### Configuring the Session

- [delegate](watchconnectivity/wcsession/delegate.md)
- [activate()](watchconnectivity/wcsession/activate().md)
