Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
private class IosLocalPathPicker : NSObject, UIDocumentPickerDelegateProtocol
Link copied to clipboard

Fallback used on platforms where downloads do not need extra lifecycle handling.

Link copied to clipboard

Wraps long-running local model downloads with platform-specific safeguards.

Properties

Link copied to clipboard
private const val ANDROID_BONSAI_ABI: String

Functions

Link copied to clipboard
internal fun isAndroidBonsaiSupportedInPrinciple(supported64BitAbis: Array<String>?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True when the current target can configure custom local model folders.

True when the current target can configure custom local model folders.

True when the current target can configure custom local model folders.

Link copied to clipboard
internal fun isServerSourceAvailableOnAndroid(source: ServerSource, supported64BitAbis: Array<String>?): Boolean
Link copied to clipboard

Filters providers that are impossible on the current target, such as a missing runtime ABI.

Filters providers that are impossible on the current target, such as a missing runtime ABI.

Filters providers that are impossible on the current target, such as a missing runtime ABI.

Link copied to clipboard
private fun UIApplication.rootViewController(): UIViewController?
Link copied to clipboard
internal actual fun ServerSetupLocalPathPickerButton(modifier: Modifier, text: String, onPathSelected: (String) -> Unit)

Opens a platform directory picker for custom local model folders.

internal expect fun ServerSetupLocalPathPickerButton(modifier: Modifier, text: String, onPathSelected: (String) -> Unit)

Opens a platform directory picker for custom local model folders.

internal actual fun ServerSetupLocalPathPickerButton(modifier: Modifier, text: String, onPathSelected: (String) -> Unit)

Opens a platform directory picker for custom local model folders.

Link copied to clipboard
Link copied to clipboard
private fun UIViewController.topMostPresentedViewController(): UIViewController