GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • S1API

This view

  • Original page
  • New address

GeezerVison is showing ifbars.github.io — Interface IExternalAppHost | S1API Documentation

Table of Contents

Interface IExternalAppHost

Namespace
S1API.ExternalHosting
Assembly
S1API.dll

Opts a phone or TV app into creating an independent UI for another display. The original device instance and its canvas remain owned by S1API.

public interface IExternalAppHost
Extension Methods
ReflectionUtils.GetValueTupleItems(object)
ReflectionUtils.IsValueTuple(object)

Properties

AllowExternalHosting

Whether this app currently permits an independent display session. Return false when an equivalent app is already supplied by the display mod. After changing this value, call Refresh(IExternalAppHost?) on the game thread to update catalog membership and notify displays.

bool AllowExternalHosting { get; }

Property Value

bool

Methods

CreateExternalSession(GameObject, Action)

Creates a new session under a display-owned container. The session must not call the phone or TV navigation methods or move the original device UI.

IExternalAppSession CreateExternalSession(GameObject container, Action requestClose)

Parameters

container GameObject

The UI root owned by the external display.

requestClose Action

Closes only the external display session.

Returns

IExternalAppSession

An independently owned session.

Edit this page
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.