API reference
API reference
Select your platform
No SDKs available
No versions available

MessageWithString Class

Represents a response from the backend with a typed and structured model payload. See more details here. Your app should constantly check the message queue for messages from the Platform SDK. We recommend that you check the queue every frame for new messages.

Constructors

MessageWithString ( c_message )
A typed Message subclass that wraps a native message handle pointer. Used internally by Platform SDK to wrap the message.
Signature
Oculus.Platform.MessageWithString.MessageWithString(IntPtr c_message)
Parameters
c_message: IntPtr

Protected Methods

GetDataFromMessage ( c_message )
Retrieves the String payload from the response Message. Used internally by Platform SDK.
Signature
override string Oculus.Platform.MessageWithString.GetDataFromMessage(IntPtr c_message)
Parameters
c_message: IntPtr
Returns
override string

Methods

GetString ()
Returns the retrieved the model payload. Intended to be used by clients to handle the structured payload.
Signature
override string Oculus.Platform.MessageWithString.GetString()
Returns
override string