Project: /_project.yaml Book: /_book.yaml

fuchsia.modular.internal

PROTOCOLS

BasemgrDebug {:#BasemgrDebug}

Defined in fuchsia.modular.internal/basemgr_debug.fidl

A debug interface exposed by basemgr to allow developer tools to control state within the basemgr process.

RestartSession {:#RestartSession}

Restarts the current session. If a user was logged in, this will return when the same user is logged back in. Otherwise, this will return when sessionmgr has been torn down.

Request

Response

SelectNextSessionShell {:#SelectNextSessionShell}

Toggles to the next session defined in the basemgr.config file.

Request

Response

LoginAsGuest {:#LoginAsGuest}

Logs in as a guest user.

Request

Sessionmgr {:#Sessionmgr}

Defined in fuchsia.modular.internal/sessionmgr.fidl

The basemgr application (there is no Basemgr service) requests an instance of this service in order to launch and display a Sessionmgr.

Initialize {:#Initialize}

Launches a sessionmgr instance identified by a unique device-local session_id. The uniqueness of session_id must be guaranteed by the caller, because sessionmgr creates an Environment namespace with the given session_id, and this will crash if we try to create an environment with a pre-existing name, because the services sessionmgr tries to access won't be available.

Request

SwapSessionShell {:#SwapSessionShell}

Request

Response

SessionContext {:#SessionContext}

Defined in fuchsia.modular.internal/sessionmgr.fidl

This interface is provided by basemgr to Sessionmgr.

Logout {:#Logout}

See detailed comments in SessionShellContext.Logout(). Logs out all the users in this session, then shut down the sessionmgr process.

Request

Shutdown {:#Shutdown}

Shut down the sessionmgr process. This method should be called if the users of the session should remain logged in. Call Logout() if the intent is to also log out the users from the session.

Request

GetPresentation {:#GetPresentation}

Request

TABLES

StoryData {:#StoryData}

Defined in fuchsia.modular.internal/story_data.fidl

Metadata and summary information about a single story. Does not contain the data necessary to run a story: see story_model.fidl for that.