Skip to main content
Version: 5.5

Sending short data

LINE Planet provides APIs that let you send a limited size of data ("short data") during communications. This page describes how to send short data during a call.

Supported call typeSupported SDK version
1-to-1 call, group callAll versions

Common features

The following applies to sending short data regardless of call types.

Size limitation

The methods to send short data accept the type of the data along with the data itself. The maximum sizes for the data type and the data are as follows:

  • Data type: 100 bytes (including the null termination character)
  • Data: 800 bytes

Retrieving the result of sending short data

Sometimes data transfer might fail even after several retries by LINE Planet. You can find out the result of data transfer asynchronously with the result handler callback.

1-to-1 call

On 1-to-1 calls, use PlanetKitCall::SendShortData() to send short data to the call peer.

The peer can receive the short data through ICallEvent::OnReceivedShortData.

Group call

On group calls, you can send short data to a specific peer or all peers.

  • To send short data to a specific peer, use PlanetKitConference::SendShortData().
  • To send short data to all peers, use PlanetKitConference::SendShortDataToAllPeers().

The peers can receive the short data through IConferenceEvent::OnReceivedShortData.

APIs related to sending short data are as follows.

1-to-1 call

Methods

Events

Group call

Methods

Events