Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeviceServiceProvider

Hierarchy

  • DeviceServiceProvider

Index

Constructors

constructor

Properties

Private Optional _currentGeolocationOptions

_currentGeolocationOptions: GeolocationOptions

Private _eastUpSouthToFixedFrame

_eastUpSouthToFixedFrame: function = eastUpSouthToFixedFrame

Type declaration

    • (origin: Cartesian3, ellipsoid?: Ellipsoid, result?: Matrix4): Matrix4
    • Parameters

      • origin: Cartesian3
      • Optional ellipsoid: Ellipsoid
      • Optional result: Matrix4

      Returns Matrix4

Private Optional _geolocationWatchId

_geolocationWatchId: number

Private _needsPublish

_needsPublish: boolean = false

Private _publishTime

_publishTime: JulianDate = new JulianDate(0,0)

Private _scatchStageMatrix3

_scatchStageMatrix3: Matrix3 = new Matrix3

Private _scatchStageMatrix4

_scatchStageMatrix4: Matrix4 = new Matrix4

Private _scatchStageQuaternion

_scatchStageQuaternion: Quaternion = new Quaternion

Private _scratchCartographic

_scratchCartographic: Cartographic = new Cartographic

Private _sctachStageCartesian

_sctachStageCartesian: Cartesian3 = new Cartesian3

Private _sessionGeolocationOptions

_sessionGeolocationOptions: Map<SessionPort, GeolocationOptions> = new Map<SessionPort, GeolocationOptions|undefined>()

Private _stableState

_stableState: DeviceStableState = new DeviceStableState

Private _subscribers

_subscribers: object

Type declaration

Private _targetGeolocationOptions

_targetGeolocationOptions: GeolocationOptions

Protected deviceService

deviceService: DeviceService

Protected entityService

entityService: EntityService

Protected entityServiceProvider

entityServiceProvider: EntityServiceProvider

Protected sessionService

sessionService: SessionService

Protected viewService

viewService: ViewService

Methods

Private _checkDeviceGeolocationSubscribers

  • _checkDeviceGeolocationSubscribers(): void

Protected configureStage

  • configureStage(cartographic: Cartographic, geoHorizontalAccuracy?: number, geoVerticalAccuracy?: number): void
  • Parameters

    • cartographic: Cartographic
    • Optional geoHorizontalAccuracy: number
    • Optional geoVerticalAccuracy: number

    Returns void

Protected handleExitPresentHMD

  • handleExitPresentHMD(session: SessionPort): Promise<void>

Protected handleRequestPresentHMD

  • handleRequestPresentHMD(session: SessionPort): Promise<void>

onStartGeolocationUpdates

onStopGeolocationUpdates

  • onStopGeolocationUpdates(): void

Protected onUpdateStableState

publishStableState

  • publishStableState(): void

Generated using TypeDoc