sms

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMSPlugin

type SMSPlugin struct{}

SMSPlugin implements the basic SMS sending capability of KDE Connect.

func NewSMSPlugin

func NewSMSPlugin() *SMSPlugin

NewSMSPlugin creates a new SMS plugin.

func (*SMSPlugin) Handle

func (p *SMSPlugin) Handle(ctx context.Context, dev device.Sender, pkt *protocol.Packet) error

func (*SMSPlugin) IncomingTypes

func (p *SMSPlugin) IncomingTypes() []string

func (*SMSPlugin) Name

func (p *SMSPlugin) Name() string

func (*SMSPlugin) OnConnect

func (p *SMSPlugin) OnConnect(dev device.Sender)

func (*SMSPlugin) OnDisconnect

func (p *SMSPlugin) OnDisconnect(dev device.Sender)

func (*SMSPlugin) OutgoingTypes

func (p *SMSPlugin) OutgoingTypes() []string

func (*SMSPlugin) SendSMS

func (p *SMSPlugin) SendSMS(dev device.Sender, phoneNumber, message string) error

SendSMS asks the remote device to send an SMS.

func (*SMSPlugin) Timeout

func (p *SMSPlugin) Timeout() time.Duration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL