blob: 07825b570e372615bd835df0adfdc36e71d3c7c6 [file] [log] [blame]
// Copyright 2017 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.modular;
// State of a Story. A story is either running or not, separately on every
// device of the user. If it's running, it can also be focused, but that's
// tracked in a separate service, cf. FocusProvider in focus.fidl.
//
// Possible state transitions are:
//
// STOPPED -> RUNNING
// RUNNING -> STOPPED
//
enum StoryState {
// Story was started using StoryController.Start().
RUNNING = 2;
// Story was not yet run, or Story was stopped after StoryController.Stop()
// was called.
STOPPED = 4;
};