RoomInputToolbarView: Add separate actions for camera and media library.

This commit is contained in:
SBiOSoftWhare
2019-08-02 17:16:06 +02:00
parent 677f107bde
commit 08ffa6db8d
2 changed files with 32 additions and 71 deletions

View File

@@ -45,6 +45,20 @@ typedef enum : NSUInteger
*/
- (void)roomInputToolbarViewDidTapFileUpload:(MXKRoomInputToolbarView*)toolbarView;
/**
Tells the delegate that the user wants to take photo or video with camera.
@param toolbarView the room input toolbar view
*/
- (void)roomInputToolbarViewDidTapCamera:(MXKRoomInputToolbarView*)toolbarView;
/**
Tells the delegate that the user wants to show media library.
@param toolbarView the room input toolbar view
*/
- (void)roomInputToolbarViewDidTapMediaLibrary:(MXKRoomInputToolbarView*)toolbarView;
@end
/**