StarXpand SDK for iOS/Android Developer's Manual Ver. 1.14.0

Last update: Sep. 15, 2026

Use Buzzer

The procedure and the reference vary depending on the OS. Select the OS to display.

iOS Android


This section describes the structures of StarPRNT SDK and StarXpand SDK for buzzer operations.

Understand the differences between these SDKs before migrating to StarXpand SDK.


StarPRNT SDK

Use the appendPeripheral() method in Generate Printing Data to generate printing data for sounding the buzzer.
Sample code: Refer to the createPeripheralData() method in ApiFunctions.swift (GitHub).


StarXpand SDK

To sound the buzzer, generate a BuzzerBuilder class instance in Generate Printing Data and use the actionDrive() method.
Pass this instance as an argument to the addBuzzer() method of the DocumentBuilder instance.
Sample code (GitHub)

Refer to Supported API List for information on whether each API is supported in StarPRNT SDK and StarXpand SDK.

This section describes the structures of StarPRNT SDK and StarXpand SDK for buzzer operations.

Understand the differences between these SDKs before migrating to StarXpand SDK.


StarPRNT SDK

Use the appendPeripheral() method in Generate Printing Data to generate printing data for sounding the buzzer.
Sample code (GitHub)


StarXpand SDK

To sound the buzzer, generate a BuzzerBuilder class instance in Generate Printing Data and use the actionDrive() method.
Pass this instance as an argument to the addBuzzer() method of the DocumentBuilder instance.
Sample code (GitHub)

Refer to Supported API List for information on whether each API is supported in StarPRNT SDK and StarXpand SDK.