COVIDSafe code from version 2.0

This commit is contained in:
covidsafe-support 2020-12-19 16:11:23 +11:00
parent cf93ea43c0
commit 4ff6a506cf
55 changed files with 4624 additions and 1117 deletions

View file

@ -0,0 +1,21 @@
//
// Sensor.swift
//
// Copyright 2020 VMware, Inc.
// SPDX-License-Identifier: MIT
//
import Foundation
/// Sensor for detecting and tracking various kinds of disease transmission vectors, e.g. contact with people, time at location.
public protocol Sensor {
/// Add delegate for responding to sensor events.
func add(delegate: SensorDelegate)
/// Start sensing.
func start()
/// Stop sensing.
func stop()
}