Skip to main content
Version: 5.3

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

1-to-1 call

On 1-to-1 calls, use sendShortData() of Call to send short data to the call peer.

The caller can receive the short data through evtShortDataReceived of MakeCallDelegate, and the callee can receive the short data through evtShortDataReceived of VerifyCallDelegate.

Group call

On group calls, you can send short data to one or more peers with sendShortData() of Conference.

You can pass the list of target participants in the targets parameter of sendShortData() of Conference. If the targets parameter is undefined, the short data will be sent to all participants.

The peers can receive the short data through evtShortDataReceived of ConferenceDelegate.

APIs related to sending short data are as follows.

1-to-1 call

Methods

Events

Group call

Methods

Events