Bitwig Studio Control Surface API  5.0.11
OscConnection Interface Reference

Public Member Functions

void startBundle () throws IOException
 
void sendMessage (String address, Object ...args) throws IOException, OscInvalidArgumentTypeException
 
void endBundle () throws IOException
 

Detailed Description

This interface lets you send OscMessage through an connection which can be via Tcp, Udp, or whatever.

OscPackets are sent when all the startBundle() have a matching endBundle(). If you call sendMessage() with startBundle() before, then the message will be sent directly.

Our maximum packet size is 64K.

Since
API version 5

Member Function Documentation

◆ endBundle()

void endBundle ( ) throws IOException

Finishes the previous bundle, and if it was not inside an other bundle, it will send the message directly.

◆ sendMessage()

void sendMessage ( String  address,
Object ...  args 
) throws IOException, OscInvalidArgumentTypeException

Supported object types:

  • Integer for int32
  • Long for int64
  • Float for float
  • Double for double
  • null for nil
  • Boolean for true and false
  • String for string
  • byte[] for blob

◆ startBundle()

void startBundle ( ) throws IOException

Starts an OscBundle.


The documentation for this interface was generated from the following file: