// 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; | |
[Discoverable] | |
// Snapshot loader exported by |ViewProvider| to load snapshots into views | |
// created from it. | |
interface Loader { | |
// Load the snapshot from the Vmo buffer payload. | |
1: Load(fuchsia.mem.Buffer payload); | |
}; |