Interface ISpatialLocalizationSession
Inherited Members
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public interface ISpatialLocalizationSession : IDisposable
Properties
Peer
Participant associated with the current localization session
Declaration
IPeerConnection Peer { get; }
Property Value
| Type | Description |
|---|---|
| IPeerConnection |
Methods
Cancel()
Call to cancel the localization sessions
Declaration
void Cancel()
LocalizeAsync(CancellationToken)
Call to obtain a spatial coordinate from this localization session
Declaration
Task<ISpatialCoordinate> LocalizeAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<ISpatialCoordinate> |
OnDataReceived(BinaryReader)
Call to provide network information
Declaration
void OnDataReceived(BinaryReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | reader containing a network payload |