holoride
Search Results for

    Show / Hide Table of Contents

    Class ServiceStateReceiverBackend

    Connector for receiving localization data the holoride service.

    Inheritance
    object
    Object
    ScriptableObject
    StateReceiverBackend
    ServiceStateReceiverBackend
    Inherited Members
    StateReceiverBackend.State
    StateReceiverBackend.Route
    StateReceiverBackend.AllListeners
    StateReceiverBackend.LocalizationListeners
    StateReceiverBackend.AddListener(IStateReceiverListener)
    StateReceiverBackend.RemoveListener(IStateReceiverListener)
    StateReceiverBackend.NotifyListenerConfigurationChanged()
    StateReceiverBackend.Pivot
    StateReceiverBackend.IsEnabled
    StateReceiverBackend.OnListenerAdded(IStateReceiverListener)
    StateReceiverBackend.OnListenerRemoved(IStateReceiverListener)
    StateReceiverBackend.OnStateUpdated()
    StateReceiverBackend.OnStateReceivedAsync(VehicleSensorState)
    StateReceiverBackend.OnRouteChanged()
    StateReceiverBackend.OnMapAccessTokenReceived(string)
    StateReceiverBackend.UpdatePivot(GeoCoordinate)
    Namespace: Holoride.ElasticSDK
    Assembly: Holoride.ElasticSDK.StateReceivers.dll
    Syntax
    [PublicAPI]
    public sealed class ServiceStateReceiverBackend : StateReceiverBackend

    Properties

    AutomaticallyConnectAndSubscribe

    Gets or sets a value indicating whether to automatically connect to service when this backend gets enabled.

    Declaration
    public bool AutomaticallyConnectAndSubscribe { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    Changing this at runtime may lead to a re-connect to the service.

    InterpolationFrameSize

    Gets or sets the interpolation frame size controls the delay data is presented at, where this delay window is used to interpolate underlying data, to ensure it is played back at the same rate the underlying records represent. Disabling interpolation by setting it to zero may result in rubber-banding.

    The window size is specified in seconds.

    Declaration
    public float InterpolationFrameSize { get; set; }
    Property Value
    Type Description
    float

    TravelInformationState

    Declaration
    public override TravelInformationState TravelInformationState { get; }
    Property Value
    Type Description
    TravelInformationState
    Overrides
    StateReceiverBackend.TravelInformationState

    VehicleSensorState

    Declaration
    public override VehicleSensorState VehicleSensorState { get; protected set; }
    Property Value
    Type Description
    VehicleSensorState
    Overrides
    StateReceiverBackend.VehicleSensorState

    VoyagerManager

    Gets the underlying manager used to communicate with the service. Regular applications should use this property, but rely on the methods and events provided by this class. This property is only exposed for internal use and will be removed in the future.

    Declaration
    [Obsolete("Obtain from Unity Subsystem API instead.")]
    public IHolorideServiceManagerSubsystem VoyagerManager { get; }
    Property Value
    Type Description
    Holoride.Service.SDK.IHolorideServiceManagerSubsystem

    Methods

    Disable()

    Declaration
    public override void Disable()
    Overrides
    StateReceiverBackend.Disable()

    Enable()

    Declaration
    public override void Enable()
    Overrides
    StateReceiverBackend.Enable()

    OnApplicationResume()

    Declaration
    public override void OnApplicationResume()
    Overrides
    StateReceiverBackend.OnApplicationResume()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    StateReceiverBackend.OnDestroy()

    ResetLocalization()

    Requests a localization reset from the service.

    Will trigger the OnVehicleLocalizationReset() event when complete.

    Requires an active connection to the service, i.e. State has to be Available. To wait for the connection if it has not been established, use the OnConnect() event.

    Declaration
    public void ResetLocalization()

    Update()

    Declaration
    public override void Update()
    Overrides
    StateReceiverBackend.Update()
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint