2015-03-27 14:53:09 -07:00
|
|
|
// Copyright 2015 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2015-08-27 19:55:09 -07:00
|
|
|
// +build linux,!android darwin,!arm,!arm64 windows
|
2015-03-27 14:53:09 -07:00
|
|
|
|
|
|
|
package sensor
|
|
|
|
|
2015-04-02 15:42:08 -07:00
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"time"
|
|
|
|
)
|
2015-03-27 14:53:09 -07:00
|
|
|
|
2015-10-09 11:30:18 -07:00
|
|
|
func enable(t Type, delay time.Duration) error {
|
2015-04-02 15:42:08 -07:00
|
|
|
return errors.New("sensor: no sensors available")
|
2015-03-27 14:53:09 -07:00
|
|
|
}
|
|
|
|
|
2015-09-04 00:17:01 -07:00
|
|
|
func disable(t Type) error {
|
2015-04-02 15:42:08 -07:00
|
|
|
return errors.New("sensor: no sensors available")
|
2015-03-27 14:53:09 -07:00
|
|
|
}
|
|
|
|
|
2015-09-04 00:17:01 -07:00
|
|
|
func destroy() error {
|
2015-04-02 15:42:08 -07:00
|
|
|
return nil
|
2015-03-27 14:53:09 -07:00
|
|
|
}
|