One Logo Pool Ball
Additional SDK Modules · IOS API REFERENCE

IntentsUI

Explore IntentsUI types and the APIs available through One's generated iOS bindings.

11 types

25 callable entries

8 skipped

76% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

Functions and constants

static · iOS 10.0+

imageSize

TypeScript
static imageSize(response: _Intents_INIntentResponse): { width: number; height: number }
Swift declaration
class func imageSize(for response: INIntentResponse) -> CGSize
init · iOS 10.0+

init

TypeScript
static initCgImage(imageRef: _CoreGraphics_CGImage): _Intents_INImage
Swift declaration
convenience init(CGImage imageRef: CGImage)
init · iOS 10.0+

init

TypeScript
static initUiImage(image: _UIKit_UIImage): _Intents_INImage
Swift declaration
convenience init(UIImage image: UIImage)
method · iOS 11.0+

fetchUIImage

TypeScript
fetchUIImage(completion: ((arg0: (_UIKit_UIImage) | null) => void)): void
Swift declaration
func fetchUIImage() async -> UIImage?
method · iOS 11.0+

interfaceParametersDescription

TypeScript
interfaceParametersDescription(): string
Swift declaration
func interfaceParametersDescription() -> String
get · iOS 10.0+

hostedViewMaximumAllowedSize

TypeScript
get hostedViewMaximumAllowedSize(): { width: number; height: number }
Swift declaration
var hostedViewMaximumAllowedSize: CGSize { get }
get · iOS 10.0+

hostedViewMinimumAllowedSize

TypeScript
get hostedViewMinimumAllowedSize(): { width: number; height: number }
Swift declaration
var hostedViewMinimumAllowedSize: CGSize { get }

Skipped declarations

8 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

INUIAddVoiceShortcutButton.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

INUIEditVoiceShortcutViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

INUIAddVoiceShortcutViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

protocol implementation INUIHostedViewSiriProviding.displaysMap

non-method protocol requirement

protocol implementation INUIHostedViewSiriProviding.displaysMessage

non-method protocol requirement

protocol implementation INUIHostedViewSiriProviding.displaysPaymentTransaction

non-method protocol requirement

protocol implementation INUIHostedViewControlling.configure(with:context:)

synchronous protocol result requires an active JS-thread call; delegate invocations can escape it

protocol implementation INUIHostedViewControlling.configureView(for:of:interactiveBehavior:context:)

synchronous protocol result requires an active JS-thread call; delegate invocations can escape it