imageSize
TypeScriptstatic imageSize(response: _Intents_INIntentResponse): { width: number; height: number }Swift declarationclass func imageSize(for response: INIntentResponse) -> CGSizeExplore 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.
INUIAddVoiceShortcutButton
class · iOS 12.0+
INUIAddVoiceShortcutButtonDelegate
protocol · iOS 12.0+
INUIAddVoiceShortcutButtonStyle
enum · iOS 12.0+
INUIAddVoiceShortcutViewController
class · iOS 12.0+
INUIAddVoiceShortcutViewControllerDelegate
protocol · iOS 12.0+
INUIEditVoiceShortcutViewController
class · iOS 12.0+
INUIEditVoiceShortcutViewControllerDelegate
protocol · iOS 12.0+
INUIHostedViewContext
enum · iOS 10.0+
INUIHostedViewControlling
protocol · iOS 10.0+
INUIHostedViewSiriProviding
protocol · iOS 10.0+
INUIInteractiveBehavior
enum · iOS 11.0+
static imageSize(response: _Intents_INIntentResponse): { width: number; height: number }Swift declarationclass func imageSize(for response: INIntentResponse) -> CGSizestatic initCgImage(imageRef: _CoreGraphics_CGImage): _Intents_INImageSwift declarationconvenience init(CGImage imageRef: CGImage)static initUiImage(image: _UIKit_UIImage): _Intents_INImageSwift declarationconvenience init(UIImage image: UIImage)fetchUIImage(completion: ((arg0: (_UIKit_UIImage) | null) => void)): voidSwift declarationfunc fetchUIImage() async -> UIImage?interfaceParametersDescription(): stringSwift declarationfunc interfaceParametersDescription() -> Stringget hostedViewMaximumAllowedSize(): { width: number; height: number }Swift declarationvar hostedViewMaximumAllowedSize: CGSize { get }get hostedViewMinimumAllowedSize(): { width: number; height: number }Swift declarationvar hostedViewMinimumAllowedSize: CGSize { get }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