Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandCancelPrompt + const CommandDisable + const CommandEnable + const CommandSelectPrompt + type CancelPromptParams struct + ID RequestID + func CancelPrompt(id RequestID) *CancelPromptParams + func (p *CancelPromptParams) Do(ctx context.Context) (err error) + func (v *CancelPromptParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *CancelPromptParams) UnmarshalJSON(data []byte) error + func (v CancelPromptParams) MarshalEasyJSON(w *jwriter.Writer) + func (v CancelPromptParams) MarshalJSON() ([]byte, error) + type DeviceID string + func (t DeviceID) String() string + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventDeviceRequestPrompted struct + Devices []*PromptDevice + ID RequestID + func (v *EventDeviceRequestPrompted) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventDeviceRequestPrompted) UnmarshalJSON(data []byte) error + func (v EventDeviceRequestPrompted) MarshalEasyJSON(w *jwriter.Writer) + func (v EventDeviceRequestPrompted) MarshalJSON() ([]byte, error) + type PromptDevice struct + ID DeviceID + Name string + func (v *PromptDevice) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PromptDevice) UnmarshalJSON(data []byte) error + func (v PromptDevice) MarshalEasyJSON(w *jwriter.Writer) + func (v PromptDevice) MarshalJSON() ([]byte, error) + type RequestID string + func (t RequestID) String() string + type SelectPromptParams struct + DeviceID DeviceID + ID RequestID + func SelectPrompt(id RequestID, deviceID DeviceID) *SelectPromptParams + func (p *SelectPromptParams) Do(ctx context.Context) (err error) + func (v *SelectPromptParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SelectPromptParams) UnmarshalJSON(data []byte) error + func (v SelectPromptParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SelectPromptParams) MarshalJSON() ([]byte, error)