blob: 93c7d16ac22b7be553569b4735f817aac8454bd7 [file] [log] [blame]
// Copyright 2018 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.scenic.snapshot;
using fuchsia.mem;
/// Snapshot loader exported by `ViewProvider` to load snapshots into views
/// created from it.
@discoverable
protocol Loader {
/// Load the snapshot from the Vmo buffer payload.
Load(resource struct {
payload fuchsia.mem.Buffer;
});
};