Package-level declarations

Types

Link copied to clipboard
expect object AppleAvs
actual object AppleAvs
Link copied to clipboard
interface AppleAvsBridge
Link copied to clipboard
Link copied to clipboard
expect class AppleAvsFlowManager
actual class AppleAvsFlowManager
actual class AppleAvsFlowManager

Uses the runtime's AVSFlowManager. A second AVSFlowManager would start a second AVS loop.

Link copied to clipboard
internal object AppleAvsPlatformRuntime

On macOS, wcall owns AVS's event loop. The bridge calls setup then run once, under its start lock.

internal object AppleAvsPlatformRuntime

Owns AVS's single process event loop on iOS. The bridge calls setup then run once, under its start lock.

Link copied to clipboard
internal class AppleAvsRuntimeStartup(setup: () -> Int, run: () -> Int, onStarted: () -> Unit)

Called under the bridge's startup lock. Native setup/run can leave partial global state on failure; AVS has no supported retry/rollback contract, so both success and failure are cached for this process.

Link copied to clipboard
expect class AppleAvsSpeaker

Uses AVS's call media manager; false requests release of the speaker override.

actual class AppleAvsSpeaker

Uses AVS's call media manager; false requests release of the speaker override.

Link copied to clipboard
Link copied to clipboard
interface Calling : Library
Link copied to clipboard

AUDIO for audio call VIDEO for video cal

Link copied to clipboard

Properties

Link copied to clipboard
const val ENVIRONMENT_DEFAULT: Int = 0

Functions

Link copied to clipboard
fun signalingUserHandle(selfUserId: String, selfClientId: String, callbacks: AppleAvsCallbacks): UInt?

Creates a real AVS signaling handle without a per-handle media manager, for signaling integration tests. Release the handle with AppleAvsBridge.releaseUserHandle on AppleAvs.bridge. Application calls that require audio must use AppleAvsBridge.userHandle.