| // Copyright 2020 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. | |
| @available(added=7) | |
| library fuchsia.castwindow; | |
| type Interaction = strict enum : uint32 { | |
| GO_BACK = 1; | |
| }; | |
| /// Routes interaction requests to the application instance identified | |
| /// by |session_id|. | |
| @discoverable | |
| protocol InteractionHandler { | |
| SendInteraction(struct { | |
| session_id string:MAX; | |
| interaction Interaction; | |
| }); | |
| }; |