blob: de3a37a3b89ef003116d8ed1ad415015f7886c49 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.samplertestcontroller;
type SamplingError = strict enum : int32 {
MULTIPLE_SAMPLE_CALLBACKS_ERROR = 1;
};
@discoverable
protocol SamplerTestController {
IncrementInt(struct {
property_id uint16;
}) -> ();
SetOptional(struct {
value int64;
}) -> ();
RemoveOptional() -> ();
WaitForSample() -> (struct {}) error SamplingError;
};