20 lines
237 B
Markdown
20 lines
237 B
Markdown
---
|
|
sidebar_label: DeviceRequestPrompt.cancel
|
|
---
|
|
|
|
# DeviceRequestPrompt.cancel() method
|
|
|
|
Cancel the prompt.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class DeviceRequestPrompt {
|
|
cancel(): Promise<void>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<void>
|