Last active
June 6, 2018 14:33
-
-
Save olbrichj/37e67db857dd6cc0cfe0a5b6d779e37b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public func handle(intent: DanceIntent, completion: @escaping (DanceIntentResponse) -> Void) { | |
// check for your intent here and handle it accordingly | |
let dance = intent.dance | |
// finish by providing a response | |
completion(DanceIntentResponse.success(dance: dance, playTime: 10)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment