You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Represents a concrete intent instance with parameters and metadata.</p>
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
28
58
<divclass="rp-table-scroll-container rp-scrollbar"><table><thead><tr><th>Property</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code>script</code></td><td><code>string</code></td><td>The internal script path. Automatically generated by the system.</td></tr><tr><td><code>name</code></td><td><code>string</code></td><td>The name of the AppIntent. Must be unique.</td></tr><tr><td><code>protocol</code></td><td><code>AppIntentProtocol</code></td><td>The protocol the intent conforms to (e.g., general, audio, Live Activity).</td></tr><tr><td><code>params</code></td><td><code>T</code></td><td>The parameters to be passed when the intent is executed.</td></tr></tbody></table></div>
<p>An enumeration that defines the behavior type of the intent.</p>
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
40
95
<divclass="rp-table-scroll-container rp-scrollbar"><table><thead><tr><th>Enum Value</th><th>Description</th></tr></thead><tbody><tr><td><code>AppIntent</code> (0)</td><td>A general-purpose AppIntent for typical operations.</td></tr><tr><td><code>AudioPlaybackIntent</code> (1)</td><td>An intent that plays, pauses, or otherwise modifies audio playback.</td></tr><tr><td><code>AudioRecordingIntent</code> (2)</td><td><em>(iOS 18.0+)</em> An intent that starts, stops, or modifies audio recording. <strong>Note</strong>: On iOS/iPadOS, when using the <code>AudioRecordingIntent</code> protocol, you must start a <strong>Live Activity</strong> at the beginning of the recording and keep it active for the entire session. If you don't, the recording will be automatically stopped.</td></tr><tr><td><code>LiveActivityIntent</code> (3)</td><td>An intent that starts, pauses, or modifies a Live Activity.</td></tr></tbody></table></div>
<divclass="rp-table-scroll-container rp-scrollbar"><table><thead><tr><th>Property</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code>name</code></td><td><code>string</code></td><td>A unique identifier for the AppIntent.</td></tr><tr><td><code>protocol</code></td><td><code>AppIntentProtocol</code></td><td>The protocol this intent implements.</td></tr><tr><td><code>perform</code></td><td><code>AppIntentPerform<T></code></td><td>The asynchronous function executed when the intent is triggered. The <code>params</code> argument is passed from the control.</td></tr></tbody></table></div>
0 commit comments