AppRemoting Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information and configuration for creating a Holographic Remoting remote app.
public static class AppRemoting
type AppRemoting = class
Public Class AppRemoting
- Inheritance
-
AppRemoting
Remarks
Please note that client/server and player/remote are orthogonal concepts in remoting. Holographic Remoting remote app can act as either a Server - when listening to incoming connection from a Holographic Remoting player app (Client) (or) Client - when connecting to Holographic Remoting player app (Server) that is listening to incoming connections. For more details, please reference the Holographic Remoting Terminology.
Properties
IsReadyToStart |
Indicates whether a remoting connection is ready to be started using StartConnectingToPlayer(RemotingConnectConfiguration) or StartListeningForPlayer(RemotingListenConfiguration). |
Methods
Connect(RemotingConfiguration) |
Obsolete.
Starts connecting with given Holographic Remoting remote app (Client) configuration and initializes XR. |
Disconnect() |
Disconnects the remote app (Client/Server) from the remote player (Client/Server) and stops the active XR session. |
Listen(RemotingListenConfiguration, Action) |
Obsolete.
Starts listening with given Holographic Remoting remote app (Server) configuration and initializes XR. |
StartConnectingToPlayer(RemotingConnectConfiguration) |
Starts connecting with given Holographic Remoting remote app (Client) configuration and initializes XR. |
StartListeningForPlayer(RemotingListenConfiguration) |
Starts listening with given Holographic Remoting remote app (Server) configuration and initializes XR. |
StopListening() |
Stops listening on the remote app (Server) for incoming connections from the remote player (Client) and stops the active XR session. |
TryConvertToPlayerTime(Int64, Int64) |
Convert the time from a remote app QPC time to the synchronized player app QPC time. |
TryConvertToRemoteTime(Int64, Int64) |
Convert the time from a player app QPC time to the synchronized remote app QPC time. |
TryGetConnectionState(ConnectionState, DisconnectReason) |
Provides information on the current remoting session, if one exists. |
TryLocateUserReferenceSpace(FrameTime, Pose) |
To locate the |
Events
Connected |
Event triggered when the connection between remote app (Client/Server) and player is successfully established. |
Disconnecting |
Event triggered when the connection between remote app (Client/Server) and player is disconnecting. |
ReadyToStart |
Event triggered when IsReadyToStart changes from false to true. |