-
Notifications
You must be signed in to change notification settings - Fork 0
Core Work Mode Overview
Mr.P edited this page Aug 25, 2026
·
1 revision
Welcome to the Work Mode documentation for the AIBuds SDK. This section covers APIs for managing the device's operational mode, such as normal mode and game mode.
Browse the generated Wiki navigation for the pages in this section.
To work with work modes, follow these steps:
- Connect to Device - Establish a connection with your AIBuds device
-
Check Protocol Conformance - Verify the device conforms to
DeviceWorkModeAPIprotocol -
Get Current Mode - Read the
workModeproperty -
Set Mode - Call
setWorkMode(_:completion:)with aWorkModevalue
WorkMode defines the following values:
The interactive work mode reference is available in the full documentation.
Work mode functionality is accessed through the DeviceWorkModeAPI protocol:
```swift
guard let device = device as? DeviceWorkModeAPI else {
print("Device does not support DeviceWorkModeAPI")
return
}
```
```objc
id<AIBudsDeviceWorkModeAPI> device = (id<AIBudsDeviceWorkModeAPI>)self.device;
if (![device conformsToProtocol:@protocol(AIBudsDeviceWorkModeAPI)]) {
NSLog(@"Device does not support AIBudsDeviceWorkModeAPI");
return;
}
```
-
Check Protocol Conformance: Always verify the device supports the
DeviceWorkModeAPIprotocol -
Handle Mode Changes: Implement
device(_:didWorkModeChanged:)when the device delegate should receive updates - Provide Feedback: Inform users when the mode is successfully changed
- Respect User Intent: Change work mode only in response to an appropriate application or user action
- Not all devices support multiple work modes
- Available modes depend on device capabilities
- The public API does not define device-specific audio or latency effects for a mode
AIBuds SDK documentation · Full documentation · API Reference
- Introduction
- Getting Started
- Core Concepts
-
Core Features
- Basic Features
- Device Info
- Find Device
- Physical Operations
- Work Mode
- Work Status
- Wear Detection
- Volume Control
- Music Control
- TWS
- Equalizer
- ANC
- Audio
- Camera
- Remote Camera
- File Import
- Teleprompter
- Segment Navigation
- Live Streaming
- Device Applications
- OTA
- Camera OTA
- Service Auth
- AI Services
- Voice Assistant
- Logging
- Advanced Topics
- Releases
- Troubleshooting