blob: dd3502a507330175984ce2c43d567b11fd8cfd50 [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
closed protocol SamplerTestController {
strict IncrementInt(struct {
property_id uint16;
}) -> ();
strict SetOptional(struct {
value int64;
}) -> ();
strict RemoveOptional() -> ();
strict WaitForSample() -> () error SamplingError;
};