Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 774 Bytes

File metadata and controls

54 lines (40 loc) · 774 Bytes

KAudioRecorder

İOS Audio Record & Play Helper Class 🔊

Use

      var recorder = KAudioRecorder.shared
      recorder.recordName = "music"
Record & Stop & Control
      recorder.record()
      recorder.stop()
      recorder.isRecording // True | False 
Play & Stop & Control
      recorder.play()
      recorder.play(name:"music") // Recorded name
      recorder.stop()
      recorder.isPlaying // True | False 
Delete
      recorder.delete(name: "music") // Recorded name
Other
     recorder.isAuth() // True | False
     recorder.time // Decimal
     recorder.getTime() // String format