But a lot of these functionality should be platform specific non-UI related, so maybe we should have utility functions in the SDK for those who don't use UIKit
Illustration examples, not spec
Core API:
sendMessageWithAudio(message, audiofile)
Utility Functions:
initAudioRecording()
recordingStart()
recordingPause()
recordingStop()
setRecordFinishCallBack(func)
playRecording()
Other thought:
I felt like this case is similar to UserTypingIndicator in chat
UIKit got audio / video sending ability: #141 https://github.com/SkygearIO/chat-SDK-Android/issues/50 https://github.com/SkygearIO/chat-SDK-iOS/issues/64
But a lot of these functionality should be platform specific non-UI related, so maybe we should have utility functions in the SDK for those who don't use UIKit
Illustration examples, not spec
Core API:
sendMessageWithAudio(message, audiofile)
Utility Functions:
initAudioRecording()
recordingStart()
recordingPause()
recordingStop()
setRecordFinishCallBack(func)
playRecording()
Other thought: