File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Sources/d3-async-location Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ final class Permission{
3434
3535 // MARK: - Life circle
3636
37+ /// Init defining is access to location service is granted
38+ /// - Parameter status: Constant indicating the app's authorization to use location services
3739 init ( with status: CLAuthorizationStatus ) {
3840 self . status = status
3941 initSubscription ( )
@@ -69,7 +71,7 @@ final class Permission{
6971 }
7072
7173 /// Check permission status
72- /// - Parameter status: Status for checking
74+ /// - Parameter status: Constant indicating the app's authorization to use location services
7375 /// - Returns: Return `True` if is allowed
7476 private func isAuthorized( _ status : CLAuthorizationStatus ) -> Bool {
7577 [ CLAuthorizationStatus . authorizedWhenInUse, . authorizedAlways] . contains ( status)
You can’t perform that action at this time.
0 commit comments