Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utility Functions for Abstraction layer of Audio / Video message attachment #157

Open
chpapa opened this issue Oct 24, 2017 · 0 comments
Open

Comments

@chpapa
Copy link
Contributor

chpapa commented Oct 24, 2017

UIKit got audio / video sending ability: #141 SkygearIO/chat-SDK-Android#50 SkygearIO/chat-SDK-iOS#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:

  • I felt like this case is similar to UserTypingIndicator in chat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant