blob: ef462cf6f0fea1a5b3095ad60b55961f2338df31 [file] [log] [blame]
// Copyright 2025 The Fuchsia Authors.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@available(added=HEAD)
library fuchsia.recovery.android;
using fuchsia.url;
/// Provides a mechanism for adb sideload to provide the update url to recovery-android.
@discoverable
closed protocol Updater {
/// Applies an update from the given manifest URL.
///
/// Triggers an update and returns only after the update attempt has finished,
/// either by succeeding, failing, or being cancelled.
strict Update(resource struct {
/// The URL of the update manifest.
manifest_url fuchsia.url.Url;
}) -> ();
};