Skip to content

PhoneScreen

public static class PhoneScreen

Namespace Sideload.Api

Added in 1.5.0

The phone itself, as opposed to any one app on it. Everything here is a no-op without Sideload.

public static bool IsRaised { get; }

Added in 1.5.0

Whether the phone is out and showing its phone screen - not the character tab, and not in the player’s pocket.

public static bool Available { get; }

Added in 1.5.0

Whether the installed Sideload can move the phone at all. False before 1.5.0, where Raise and Show are silent no-ops - which for an app with no icon means no way in.

public static bool Raise()

Added in 1.5.0

Take the phone out. Returns false when the game refused: paused, asleep, dead or arrested. Safe to call when the phone is already out.

public static bool Lower()

Added in 1.5.0

Put the phone away, wherever it sits in the game’s UI stack.