getCurrentState function

CurrentState getCurrentState()

It builds a CurrentState instance based on native devices

Implementation

CurrentState getCurrentState(){
  return CurrentStateNative();
}