Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix google assistant capability #1274

Merged
merged 4 commits into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/device.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ this.$device.supports('ALEXA:APL');

this.$device.supports(GoogleAssistantCapability.InteractiveCanvas);
// or
this.$device.supports('GOOGLE_ASSISTANT:INTERACTIVE_CANVAS');
this.$device.supports('INTERACTIVE_CANVAS');
```

If a platform offers specific device features beyond capabilities, you can access its `$device` object as part of the platform object. Here is an example for Amazon Alexa:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { GoogleAssistant } from './GoogleAssistant';
import { Capability as NativeCapability } from './output';

export enum GoogleAssistantCapability {
InteractiveCanvas = 'GOOGLE_ASSISTANT:INTERACTIVE_CANVAS',
jankoenig marked this conversation as resolved.
Show resolved Hide resolved
WebLink = 'GOOGLE_ASSISTANT:WEB_LINK',
InteractiveCanvas = 'INTERACTIVE_CANVAS',
WebLink = 'WEB_LINK',
}

export type GoogleAssistantCapabilityType =
Expand Down