0

I tried changing it manually,

 if chirp.state == CHIRP_SDK_STATE_RUNNING {
        chirp.state = CHIRP_SDK_STATE_STOPPED
    }

but the error reads it is a get only property.

  • 1
    Please read the docs of the tools you are using. https://docs.chirp.io/ios/Classes/ChirpSDK.html#/c:objc(cs)ChirpSDK(im)stop - it takes 5 minutes to find this. – Losiowaty Feb 01 '20 at 13:28

1 Answers1

0

You cannot set the state of the ChirpSDK. To stop the SDK you need to call the stop method. Then the state will change to CHIRP_SDK_STATE_STOPPED.

joextodd
  • 694
  • 4
  • 9