📲Send sensations

Once the connection is established, you can send sensations using the Send method:

owo->Send(theSensation);

You may choose to add a priority to a sensation, this would make it so that no other sensation may be sent unless the current sensation has finished playing or if it has the same or higher priority.

theSensation->SetPriority(1);
owo->Send(theSensation);

On the contrary, to stop a sensation that is currently playing, you have to call the Stop method of the OWO class

owo->Stop();

Last updated