Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RealityServiceProvider

Hierarchy

  • RealityServiceProvider

Index

Constructors

constructor

Properties

Private _installersByURI

_installersByURI: Map<string, Set<SessionPort>> = new Map<string, Set<SessionPort>>()

Private _presentingRealityViewer

_presentingRealityViewer: RealityViewer | undefined

Private _viewerByURI

_viewerByURI: Map<string, RealityViewer> = new Map<string, RealityViewer>()

Private contextService

contextService: ContextService

Private focusServiceProvider

focusServiceProvider: FocusServiceProvider

installedEvent

installedEvent: Event<object> = new Event<{ viewer:RealityViewer }>()

An event that is raised when a reality viewer is installed.

Private realityService

realityService: RealityService

Private realityViewerFactory

realityViewerFactory: RealityViewerFactory

Private sessionService

sessionService: SessionService

uninstalledEvent

uninstalledEvent: Event<object> = new Event<{ viewer:RealityViewer }>()

An event that is raised when a reality viewer is uninstalled.

Private viewServiceProvider

viewServiceProvider: ViewServiceProvider

Private visibilityServiceProvider

visibilityServiceProvider: VisibilityServiceProvider

Accessors

presentingRealityViewer

Methods

Private _connectViewerWithSession

Private _handleInstall

  • _handleInstall(session: SessionPort, uri: string): void

Protected _handleRequest

  • _handleRequest(session: SessionPort, options: object): Promise<void>

Protected _handleUninstall

  • _handleUninstall(session: SessionPort, uri: string): Promise<never>

Private _setPresentingRealityViewer

getViewerByURI

Generated using TypeDoc