mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
LiveLocationSharingViewerServiceProtocol: Add comments.
This commit is contained in:
+3
@@ -21,8 +21,10 @@ import CoreLocation
|
||||
@available(iOS 14.0, *)
|
||||
protocol LiveLocationSharingViewerServiceProtocol {
|
||||
|
||||
/// All shared users live location
|
||||
var usersLiveLocation: [UserLiveLocation] { get }
|
||||
|
||||
/// Called when users live location are updated (new location, location stopped, …).
|
||||
var didUpdateUsersLiveLocation: (([UserLiveLocation]) -> Void)? { get set }
|
||||
|
||||
func isCurrentUserId(_ userId: String) -> Bool
|
||||
@@ -31,5 +33,6 @@ protocol LiveLocationSharingViewerServiceProtocol {
|
||||
|
||||
func stopListeningLiveLocationUpdates()
|
||||
|
||||
/// Stop current user location sharing
|
||||
func stopUserLiveLocationSharing(completion: @escaping (Result<Void, Error>) -> Void)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user