getActivateState method

Future<ActivationState> getActivateState()

Get current ActivateState of WatchConnectivity session

Implementation

Future<ActivationState> getActivateState() async {
  int stateIndex = await channel.invokeMethod("getActivateState");
  return ActivationState.values[stateIndex];
}