mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
implement the start, send and stop functions
This commit is contained in:
@@ -194,6 +194,12 @@ protocol JoinedRoomProxyProtocol: RoomProxyProtocol {
|
||||
func saveDraft(_ draft: ComposerDraft, threadRootEventID: String?) async -> Result<Void, RoomProxyError>
|
||||
func loadDraft(threadRootEventID: String?) async -> Result<ComposerDraft?, RoomProxyError>
|
||||
func clearDraft(threadRootEventID: String?) async -> Result<Void, RoomProxyError>
|
||||
|
||||
// MARK: - Live Location
|
||||
|
||||
func startLiveLocationShare(durationMillis: UInt64) async -> Result<Void, RoomProxyError>
|
||||
func sendLiveLocation(geoURI: GeoURI) async -> Result<Void, RoomProxyError>
|
||||
func stopLiveLocationShare() async -> Result<Void, RoomProxyError>
|
||||
}
|
||||
|
||||
extension JoinedRoomProxyProtocol {
|
||||
|
||||
Reference in New Issue
Block a user