217 wwdc16 – introducing sirikit final 05...“hey siri, can you please do me a favor and launch...

319
© 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. “Hey Siri, say hello to apps” App Frameworks #WWDC16 Session 217 Introducing SiriKit Robby Walker SiriKit Engineering Brandon Newendorp SiriKit Engineering Corey Peterson SiriKit Design

Upload: others

Post on 17-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

© 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

“Hey Siri, say hello to apps”

App Frameworks #WWDC16

Session 217

Introducing SiriKit

Robby Walker SiriKit EngineeringBrandon Newendorp SiriKit EngineeringCorey Peterson SiriKit Design

Page 2: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Agenda

SiriKit

NEW

Page 3: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Agenda

SiriKitExtensions

NEW

Page 4: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Agenda

SiriKitExtensionsDesign

NEW

Page 5: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 6: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 7: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 8: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

UnicornChat

Page 9: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

UnicornChat

Page 10: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

UnicornChat

Page 11: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message”UnicornChat

Page 12: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message”

To whom?

UnicornChat

Page 13: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message”

“Celestra”

To whom?

UnicornChat

Page 14: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

What do you want to say to Celestra?

“Hey Siri, send a UnicornChat message”

“Celestra”

To whom?

UnicornChat

Page 15: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

What do you want to say to Celestra?

“Hey Siri, send a UnicornChat message”

“Let’s add more sparkle transitions”

“Celestra”

To whom?

UnicornChat

Page 16: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send a message to Celestra on UnicornChat”

Page 17: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

What do you want to say to Celestra?

“Send a message to Celestra on UnicornChat”

“Let’s add more sparkle transitions”

Page 18: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“UnicornChat Celestra let’s add more sparkle transitions”

Page 19: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“ ”

Page 20: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, can you please do me a favor andlaunch the UnicornChat app to send a text withthe message let’s add more sparkle transitions”

Page 21: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

To whom?

“Hey Siri, can you please do me a favor andlaunch the UnicornChat app to send a text withthe message let’s add more sparkle transitions”

“My very best friend Celestra”

Page 22: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 23: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 24: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 25: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 26: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and Your App

Page 27: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and Your App

Quality

Page 28: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and Your App

QualityConsistency

Page 29: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and Your App

QualityConsistencyEasy to adopt

Page 30: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and Your App

QualityConsistencyEasy to adopt

Page 31: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech

Page 32: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent

Page 33: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent Action

Page 34: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent ResponseAction

Page 35: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent ResponseAction

Page 36: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Vocabulary

Speech Intent ResponseAction

Page 37: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Vocabulary AppLogic

Speech Intent ResponseAction

Page 38: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Vocabulary AppLogic

UserInterface

Speech Intent ResponseAction

Page 39: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

What do you want to say to Celestra?

“Hey Siri, send a UnicornChat message to Celestra”

“Let’s add more sparkle transitions”

Page 40: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Page 41: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message to Celestra”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Page 42: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message to Celestra”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Page 43: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message to Celestra”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Page 44: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message to Celestra”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Recipient

Page 45: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message to Celestra”

What do you want to say to Celestra?

“Let’s add more sparkle transitions”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Recipient

Content

Page 46: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Hey Siri, send a UnicornChat message to Celestra”

What do you want to say to Celestra?

“Let’s add more sparkle transitions”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Recipient

Content

Page 47: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Domain: MessagesIntent: sendMessageRecipient: CelestraContent: Let’s add more sparkle transitions

Page 48: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Page 49: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speech Intent ResponseAction

Vocabulary AppLogic

UserInterface

Page 50: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit

Page 51: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit

Simple

Page 52: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit

SimplePowerful

Page 53: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Brandon Newendorp SiriKit Engineering

Page 54: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Page 55: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Siri works in domains

Page 56: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Siri works in domainsMessaging, VoIP calling, Payments, Workouts, Ride booking, Photo search

Page 57: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Siri works in domainsMessaging, VoIP calling, Payments, Workouts, Ride booking, Photo searchGroup of known actions, or intents

Page 58: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Page 59: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments

Page 60: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment

Page 61: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment App: UnicornPay

Page 62: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment App: UnicornPayPayee: Buttercup

Page 63: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment App: UnicornPayPayee: ButtercupAmount: 85

Page 64: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment App: UnicornPayPayee: ButtercupAmount: 85Currency: USD

Page 65: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment App: UnicornPayPayee: ButtercupAmount: 85Currency: USDNote: Rainbow polish

Page 66: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Page 67: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Common language

Page 68: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Common languageIntents describe actions

Page 69: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Speaking Siri’s Language

Common languageIntents describe actionsIntentResponses describe results

Page 70: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentSpeaking Siri’s Language

Page 71: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentSpeaking Siri’s Language

Action to be performed

Page 72: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentSpeaking Siri’s Language

Action to be performedZero-to-many parameters

Page 73: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentSpeaking Siri’s Language

Action to be performedZero-to-many parametersClassified into a domain

Page 74: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentResponseSpeaking Siri’s Language

Page 75: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentResponseSpeaking Siri’s Language

Result of handling an intent

Page 76: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentResponseSpeaking Siri’s Language

Result of handling an intentResponse code

Page 77: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentResponseSpeaking Siri’s Language

Result of handling an intentResponse code NSUserActivity

Page 78: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Page 79: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve

Page 80: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve

Page 81: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm

Page 82: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm Handle

Page 83: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm Handle

Page 84: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Page 85: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Help Siri understand the values the user provided

Page 86: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Help Siri understand the values the user providedOpportunity to influence Siri’s behavior

Page 87: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Help Siri understand the values the user providedOpportunity to influence Siri’s behaviorProvide resolution response

Page 88: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Domain: Payments Intent: sendPayment App: UnicornPayPayee: Buttercup Amount: 85Currency: USDNote: Rainbow polish

Page 89: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Your app matched the user’s request to a specific personsuccess(with:)

ResolveLifecycle of an Intent

Page 90: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Your app would like the user to confirm the resolved person

confirmationRequired(with:)

Page 91: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Your app needs the user to select from a list of people

disambiguation(with:)

Page 92: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Your app had insufficient information to resolve the person, and would like Siri to ask the user to be more specific

needsMoreDetails(for:)

Page 93: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Your app requires a value be specified, but no value was provided

needsValue

Page 94: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ResolveLifecycle of an Intent

Your app can’t use the specified valueunsupportedWithReason

Page 95: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Your app doesn’t require a value for this parameter

ResolveLifecycle of an Intent

notRequired

Page 96: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm Handle

Page 97: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm Handle

Page 98: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmLifecycle of an Intent

Page 99: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmLifecycle of an Intent

Tell Siri the expected result of an intent

Page 100: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmLifecycle of an Intent

Tell Siri the expected result of an intentCheck required state

Page 101: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmLifecycle of an Intent

Tell Siri the expected result of an intentCheck required stateProvide an intent response

Page 102: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmLifecycle of an Intent

Tell Siri the expected result of an intentCheck required stateProvide an intent responseSiri prompts for confirmation as necessary

Page 103: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Page 104: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Service available?

Lifecycle of an Intent

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Page 105: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Service available?

Lifecycle of an Intent

Signed in?

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Page 106: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Service available?

Lifecycle of an Intent

Signed in?Sufficient balance?

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Page 107: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

IntentResponse

Service available?

Lifecycle of an Intent

Signed in?Sufficient balance?

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

ResultCode: Success Payee: Buttercup Amount: 85 Currency: USD Note: Rainbow polish

Page 108: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm Handle

Page 109: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

Resolve Confirm Handle

Page 110: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

HandleLifecycle of an Intent

Page 111: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Perform the requested action

HandleLifecycle of an Intent

Page 112: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Perform the requested actionProvide as much information about the result as possible

HandleLifecycle of an Intent

Page 113: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

HandleLifecycle of an Intent

Page 114: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

HandleLifecycle of an Intent

Network calls can take time

Page 115: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

HandleLifecycle of an Intent

Network calls can take timeSiri shows waiting UI

Page 116: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

HandleLifecycle of an Intent

Network calls can take timeSiri shows waiting UIProvide response within a few seconds

Page 117: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

HandleLifecycle of an Intent

Network calls can take timeSiri shows waiting UIProvide response within a few secondsOtherwise use InProgress response code

Page 118: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

Page 119: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Lifecycle of an Intent

“Hey Siri, send Buttercup 85 bucks on UnicornPay for rainbow polish”

IntentResponse

ResultCode: Success Payee: Buttercup Amount: 85 Currency: USD Note: Rainbow polish

Page 120: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit to Your App

Page 121: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Page 122: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Two new extension points

Page 123: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Two new extension points• Intents extension

Page 124: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Two new extension points• Intents extension• Intents UI extension

Page 125: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Two new extension points• Intents extension• Intents UI extension

Provide words and phrases to aid recognition

Page 126: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Two new extension points• Intents extension• Intents UI extension

Provide words and phrases to aid recognition• App vocabulary

Page 127: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Two new extension points• Intents extension• Intents UI extension

Provide words and phrases to aid recognition• App vocabulary• User vocabulary

Page 128: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension

Page 129: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension

Resolve Confirm Handle

Page 130: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents extensionAdding SiriKit

Page 131: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents extensionAdding SiriKit

Basis of SiriKit

Page 132: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents extensionAdding SiriKit

Basis of SiriKitSupports one or more intents

Page 133: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents extensionAdding SiriKit

Basis of SiriKitSupports one or more intentsRuns in the background while Siri is active

Page 134: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents extensionAdding SiriKit

Basis of SiriKitSupports one or more intentsRuns in the background while Siri is activeImplements resolve, confirm, and handle methods

Page 135: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SecurityAdding SiriKit

Page 136: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SecurityAdding SiriKit

Restrict while locked

Page 137: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SecurityAdding SiriKit

Restrict while lockedLocal Authentication framework

WWDC 2014Keychain and Authentication with Touch ID

Page 138: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SecurityAdding SiriKit

Restrict while lockedLocal Authentication frameworkApple Pay support

NEW

WWDC 2014Keychain and Authentication with Touch ID

What’s New with Wallet and Apple Pay Mission Tuesday 3:00PM

Page 139: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension

Page 140: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension

Page 141: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension Intents UI Extension

Page 142: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension Intents UI Extension

Page 143: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Page 144: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Bring your app’s interface into Siri

Page 145: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Bring your app’s interface into SiriProvide a UIViewController

Page 146: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Bring your app’s interface into SiriProvide a UIViewController Optional

Page 147: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Bring your app’s interface into SiriProvide a UIViewController OptionalAvailable for certain intents

Page 148: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Page 149: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Show additional information

Page 150: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Show additional informationUpdate status

Page 151: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Show additional informationUpdate statusDisplayed alongside Siri content

Page 152: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Show additional informationUpdate statusDisplayed alongside Siri contentCan replace select Siri interface elements

Page 153: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Intents UI extensionAdding SiriKit

Show additional informationUpdate statusDisplayed alongside Siri contentCan replace select Siri interface elementsNot interactive

Page 154: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension Intents UI Extension

Page 155: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension Intents UI Extension

Page 156: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension AppIntents UI Extension

Page 157: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Adding SiriKit

Intents Extension AppIntents UI Extension

Page 158: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

VocabularyAdding SiriKit

Page 159: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

VocabularyAdding SiriKit

Many apps have unique ways of describing things

Page 160: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

VocabularyAdding SiriKit

Many apps have unique ways of describing thingsSiri needs your assistance to understand words and phrases unique to your app

Page 161: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

VocabularyAdding SiriKit

Many apps have unique ways of describing thingsSiri needs your assistance to understand words and phrases unique to your appSome phrases are part of your app

Page 162: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

VocabularyAdding SiriKit

Many apps have unique ways of describing thingsSiri needs your assistance to understand words and phrases unique to your appSome phrases are part of your appOther phrases are unique to the user of your app

Page 163: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Page 164: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Words and phrases that are part of your app

Page 165: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Words and phrases that are part of your appKnown to all users of your app

Page 166: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Words and phrases that are part of your appKnown to all users of your appDefined in a plist

Page 167: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Words and phrases that are part of your appKnown to all users of your appDefined in a plistLocalized

Page 168: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Vocabulary plist

Page 169: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Start a workout with UnicornFit

Vocabulary plist

Example Uses for App

Page 170: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Start a workout with UnicornFit

workoutName

Vocabulary plist

Example Uses for App

Parameter

Page 171: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Phrase

Start a workout with UnicornFit

workoutName

Colorlicious

Vocabulary plist

Example Uses for App

Parameter

Page 172: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Pronunciation

Phrase

Start a workout with UnicornFit

workoutName

Colorlicious

colorlishus

Vocabulary plist

Example Uses for App

Parameter

Page 173: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

App-specific vocabularyAdding SiriKit

Pronunciation

Examples

Phrase

Start a workout with UnicornFit

workoutName

Colorlicious

colorlishus

Do a Colorlicious in UnicornFit

Vocabulary plist

Example Uses for App

Parameter

Page 174: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Page 175: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Terminology that’s specific to an individual user

Page 176: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Terminology that’s specific to an individual userProvided by your app

Page 177: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Terminology that’s specific to an individual userProvided by your appOrderedSet of terms

Page 178: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Other Contacts

User-specific vocabularyAdding SiriKit

All Contacts

Page 179: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Other Contacts

User-specific vocabularyAdding SiriKit

All Contacts

Page 180: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Other Contacts

User-specific vocabularyAdding SiriKit

Recent Contacts All Contacts

Page 181: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Other Contacts

User-specific vocabularyAdding SiriKit

Recent Contacts

Page 182: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Other Contacts

User-specific vocabularyAdding SiriKit

Recent ContactsFavorites

Page 183: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Page 184: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Contacts, workout names, photo albums, photo keywords

Page 185: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Contacts, workout names, photo albums, photo keywords• iOS address book is already available to Siri

Page 186: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Contacts, workout names, photo albums, photo keywords• iOS address book is already available to Siri

Only provide necessary values

Page 187: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Contacts, workout names, photo albums, photo keywords• iOS address book is already available to Siri

Only provide necessary valuesSend data on changes

Page 188: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Contacts, workout names, photo albums, photo keywords• iOS address book is already available to Siri

Only provide necessary valuesSend data on changesDelete promptly

Page 189: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User-specific vocabularyAdding SiriKit

Contacts, workout names, photo albums, photo keywords• iOS address book is already available to Siri

Only provide necessary valuesSend data on changesDelete promptlyRemove all vocabulary when needed

Page 190: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PermissionsAdding SiriKit

Page 191: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PermissionsAdding SiriKit

Request authorization

Page 192: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PermissionsAdding SiriKit

Request authorization

Page 193: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PermissionsAdding SiriKit

Request authorization Explain what data goes to Siri

Page 194: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PermissionsAdding SiriKit

Request authorization Explain what data goes to SiriRequest permission from your app

Page 195: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and iOS

Page 196: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

SiriKit and iOS

Page 197: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri is an integral part of iOS

SiriKit and iOS

Page 198: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri is an integral part of iOSIntents.framework

SiriKit and iOS

Page 199: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri is an integral part of iOSIntents.framework

Contacts integration

SiriKit and iOS

Page 200: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri is an integral part of iOSIntents.framework

Contacts integrationCallKit

SiriKit and iOS

Page 201: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 202: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

For Free!

Page 203: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Selecting Your App

Page 204: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Selecting Your App

User must say the name of your app

Page 205: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Selecting Your App

User must say the name of your appBundle display name

Page 206: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Selecting Your App

User must say the name of your appBundle display nameCan be used in many parts of speech

Page 207: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Selecting Your App

User must say the name of your appBundle display nameCan be used in many parts of speechVerbing the app name

Page 208: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Selecting Your App

User must say the name of your appBundle display nameCan be used in many parts of speechVerbing the app name• “UnicornChat Celestra order five rainbow rolls please”

Page 209: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Get me a bicorn ride on UnicornRide to the forest

UnicornPay 18 dollars to Sparkle Sparkly

UnicornChat Celestra order five rainbow rolls please

Start a 15-minute trot with UnicornFit

Ask CJ to UnicornPay me 25 dollars to cover dinner at Noon’s Grill

Using UnicornChat tell Pinky Nose that I’m running late

I need a UnicornRide to get me home

End my UniDuel in UnicornFit

Call Lucky Moontrotter using UnicornChat

Page 210: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Designing a Great Siri Experience

Corey Peterson SiriKit Design

Page 211: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Design Topics

Page 212: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Design Topics

How Siri helps you

Page 213: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Design Topics

How Siri helps youDesign guidelines

Page 214: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Design Topics

How Siri helps youDesign guidelinesPolish the design

Page 215: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

User Interface

Page 216: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Send

Page 217: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Conversational Interface

Page 218: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Conversational Interface

Context through conversation

Page 219: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Conversational Interface

Context through conversationInformation in the user’s head

Page 220: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Conversational Interface

Context through conversationInformation in the user’s headShaped by questions and responses

Page 221: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Conversational Interface

Context through conversationInformation in the user’s headShaped by questions and responses• Important to think about how Siri asks and responds

Page 222: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Ready to Send It?

Page 223: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send it”

Ready to Send It?

Page 224: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send it”

“No”

Ready to Send It?

Page 225: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send it”

“No”

“Cancel”

Ready to Send It?

Page 226: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send it”

“No”

“Cancel”

“Read it to me again”

Ready to Send It?

Page 227: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send it”

“No”

“Cancel”

“Read it to me again”

“Change it”

Ready to Send It?

Page 228: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Send it”

“No”

“Cancel”

“Read it to me again”

“Change it”

“Yes” “Yes please” “Send” “OK” “Yes thank you” “Do it” “Yes I would”

“No thanks” “Don’t do it” “Not yet” “I’m not ready” “Nope” “Nah”

“Discard the message” “Cancel it” “Cancel the message” “Discard”

“Read it” “What does it say” “Read it back to me”

No edit” “Send it to Eric instead” “Edit the message” “Change it to say…”

Ready to Send It?

Page 229: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 230: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 231: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 232: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 233: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 234: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 235: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 236: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 237: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 238: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

And how you can help, tooHow Siri Helps You

Page 239: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

And how you can help, tooHow Siri Helps You

Test with many different requests

Page 240: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

And how you can help, tooHow Siri Helps You

Test with many different requestsTest in different situations

Page 241: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

And how you can help, tooHow Siri Helps You

Test with many different requestsTest in different situationsProvide info to Siri

Page 242: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Design Guidelines

Page 243: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

A conversation with your usersDesign Guidelines

Page 244: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

A conversation with your usersDesign Guidelines

Prepare

Page 245: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

A conversation with your usersDesign Guidelines

PrepareBe a good listener

Page 246: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

A conversation with your usersDesign Guidelines

PrepareBe a good listenerAsk questions

Page 247: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

A conversation with your usersDesign Guidelines

PrepareBe a good listenerAsk questionsRespond to the request

Page 248: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PrepareDesign Guidelines

Page 249: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PrepareDesign Guidelines

Users aren’t exactly like you

Page 250: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

PrepareDesign Guidelines

Users aren’t exactly like youAsk real people—“What would you say to Siri?”

Page 251: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”
Page 252: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Get a ride”

Page 253: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Get a ride”

“Get me to SFO with UnicornRides”

Page 254: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

“Get a ride”

“Get me to SFO with UnicornRides”

“Ask UnicornRides to get me a Pegasus for 6 people from 300 Post Street to Bill Graham Auditorium”

Page 255: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Be a good listenerDesign Guidelines

Page 256: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Be a good listenerDesign Guidelines

Use the original request

Page 257: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Be a good listenerDesign Guidelines

Use the original requestPick good defaults

Page 258: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Be a good listenerDesign Guidelines

Use the original requestPick good defaultsMake educated guesses

Page 259: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Be a good listenerDesign Guidelines

Use the original requestPick good defaultsMake educated guessesAvoid bad surprises

Page 260: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Ask questionsDesign Guidelines

Page 261: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Ask questionsDesign Guidelines

Keep it simple!

Page 262: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Ask questionsDesign Guidelines

Keep it simple! Only ask for things that are necessary

Page 263: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Ask questionsDesign Guidelines

Keep it simple! Only ask for things that are necessaryHandle errors

Page 264: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmationDesign Guidelines

Page 265: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmationDesign Guidelines

Presenting a single option

Page 266: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmationDesign Guidelines

Presenting a single optionCheck with the user:

Page 267: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmationDesign Guidelines

Presenting a single optionCheck with the user:• If you made an educated guess

Page 268: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

ConfirmationDesign Guidelines

Presenting a single optionCheck with the user:• If you made an educated guess• If there is a big impact

Page 269: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

DisambiguationDesign Guidelines

Page 270: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

DisambiguationDesign Guidelines

Presenting multiple options

Page 271: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

DisambiguationDesign Guidelines

Presenting multiple options• Small number of possibilities

Page 272: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

DisambiguationDesign Guidelines

Presenting multiple options• Small number of possibilities• Filtered list from the user’s request

Page 273: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

DisambiguationDesign Guidelines

Presenting multiple options• Small number of possibilities• Filtered list from the user’s request

Siri can read the list

Page 274: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Final confirmationDesign Guidelines

Page 275: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Final confirmationDesign Guidelines

Siri checks with your extension

Page 276: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Final confirmationDesign Guidelines

Siri checks with your extension• Send info to Siri to present

Page 277: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Final confirmationDesign Guidelines

Siri checks with your extension• Send info to Siri to present

Siri checks with the user

Page 278: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri gives the resultsRespond to the Request

Page 279: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri gives the resultsRespond to the Request

Matches the request

Page 280: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri gives the resultsRespond to the Request

Matches the requestWorks everywhere (CarPlay, “Hey Siri”)

Page 281: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Siri gives the resultsRespond to the Request

Matches the requestWorks everywhere (CarPlay, “Hey Siri”)Siri provides visual UI

Page 282: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Page 283: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Bring the feel of your app into Siri

Page 284: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Bring the feel of your app into SiriLimit what you show

Page 285: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Bring the feel of your app into SiriLimit what you showDesign for multiple device sizes

Page 286: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Page 287: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Page 288: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Use API to hide redundant info

Page 289: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Use API to hide redundant infoRepresent everything visually

Page 290: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Custom UI (optional)Respond to the Request

Use API to hide redundant infoRepresent everything visuallyStill send all info to Siri

Page 291: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

In your appRespond to the Request

Page 292: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

In your appRespond to the Request

App provides follow up actions

Page 293: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

In your appRespond to the Request

App provides follow up actionsDon’t surprise the user

Page 294: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Polish the Design

Page 295: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

647 x 1150

Page 296: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

647 x 1150

Page 297: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Page 298: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Include your app name

Page 299: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Include your app nameKeep your examples short

Page 300: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Include your app nameKeep your examples shortProvide multiple examples for each intent

Page 301: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Include your app nameKeep your examples shortProvide multiple examples for each intent• Prioritize intents and examples

Page 302: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Include your app nameKeep your examples shortProvide multiple examples for each intent• Prioritize intents and examples• Localized examples

Page 303: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GuidelinesGuide Examples

Include your app nameKeep your examples shortProvide multiple examples for each intent• Prioritize intents and examples• Localized examples

Make sure they work

Page 304: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

AvoidGuide Examples

Would you please tell meet a ride with UnicornRides”g

here is my UnicornRide?”w““Hey Siri,G

W

Page 305: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

GoodGuide Examples

““ et a ride with UnicornRides”gG

here is my UnicornRide?”wW

Page 306: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Iterate on the Experience

Page 307: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Iterate on the Experience

Experiment

Page 308: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Iterate on the Experience

Experiment Try it with real people

Page 309: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Iterate on the Experience

Experiment Try it with real peopleTry it in different situations

Page 310: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Iterate on the Experience

Experiment Try it with real peopleTry it in different situationsDoes it feel right?

Page 311: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Summary

Page 312: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Summary

SiriKit

Page 313: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Summary

SiriKitExtensions, Intents, Vocabulary

Page 314: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Summary

SiriKitExtensions, Intents, VocabularyDesign the conversation

Page 315: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

More Information

https://developer.apple.com/wwdc16/217

Page 316: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Related Sessions

What’s New with Wallet and Apple Pay Mission Tuesday 3:00PM

Engineering Privacy for Your Users Pacific Heights Wednesday 4:00PM

Enhancing VoIP Apps with CallKit Mission Thursday 5:00PM

Page 317: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Related Sessions

Extending Your Apps with SiriKit Nob Hill Thursday 1:40PM

Page 318: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”

Labs

SiriKit Lab FrameworksLab C Thursday 3:00PM

SiriKit Lab FrameworksLab B Friday 9:00AM

Page 319: 217 WWDC16 – Introducing SiriKit FINAL 05...“Hey Siri, can you please do me a favor and launch the UnicornChat app to send a text with the message let’s add more sparkle transitions”