vibrator

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the gRPC VibratorService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new vibrator client.

func (*Client) AreAllEffectsSupported added in v0.0.4

func (c *Client) AreAllEffectsSupported(ctx context.Context, arg0 int64) (int32, error)

AreAllEffectsSupported calls the AreAllEffectsSupported RPC.

func (*Client) AreAllPrimitivesSupported added in v0.0.4

func (c *Client) AreAllPrimitivesSupported(ctx context.Context, arg0 int64) (bool, error)

AreAllPrimitivesSupported calls the AreAllPrimitivesSupported RPC.

func (*Client) AreEffectsSupported

func (c *Client) AreEffectsSupported(ctx context.Context, arg0 int64) (int64, error)

AreEffectsSupported calls the AreEffectsSupported RPC.

func (*Client) AreEnvelopeEffectsSupported

func (c *Client) AreEnvelopeEffectsSupported(ctx context.Context) (bool, error)

AreEnvelopeEffectsSupported calls the AreEnvelopeEffectsSupported RPC.

func (*Client) ArePrimitivesSupported

func (c *Client) ArePrimitivesSupported(ctx context.Context, arg0 int64) (int64, error)

ArePrimitivesSupported calls the ArePrimitivesSupported RPC.

func (*Client) Cancel added in v0.0.4

func (c *Client) Cancel(ctx context.Context) error

Cancel calls the Cancel RPC.

func (*Client) GetEnvelopeEffectInfo

func (c *Client) GetEnvelopeEffectInfo(ctx context.Context) (int64, error)

GetEnvelopeEffectInfo calls the GetEnvelopeEffectInfo RPC.

func (*Client) GetFrequencyProfile

func (c *Client) GetFrequencyProfile(ctx context.Context) (int64, error)

GetFrequencyProfile calls the GetFrequencyProfile RPC.

func (*Client) GetId

func (c *Client) GetId(ctx context.Context) (int32, error)

GetId calls the GetId RPC.

func (*Client) GetPrimitiveDurations

func (c *Client) GetPrimitiveDurations(ctx context.Context, arg0 int64) (int64, error)

GetPrimitiveDurations calls the GetPrimitiveDurations RPC.

func (*Client) GetQFactor

func (c *Client) GetQFactor(ctx context.Context) (float32, error)

GetQFactor calls the GetQFactor RPC.

func (*Client) GetResonantFrequency

func (c *Client) GetResonantFrequency(ctx context.Context) (float32, error)

GetResonantFrequency calls the GetResonantFrequency RPC.

func (*Client) HasAmplitudeControl added in v0.0.4

func (c *Client) HasAmplitudeControl(ctx context.Context) (bool, error)

HasAmplitudeControl calls the HasAmplitudeControl RPC.

func (*Client) HasVibrator added in v0.0.4

func (c *Client) HasVibrator(ctx context.Context) (bool, error)

HasVibrator calls the HasVibrator RPC.

func (*Client) Vibrate1

func (c *Client) Vibrate1(ctx context.Context, arg0 int64) error

Vibrate1 calls the Vibrate1 RPC.

func (*Client) Vibrate1_3

func (c *Client) Vibrate1_3(ctx context.Context, arg0 int64) error

Vibrate1_3 calls the Vibrate1_3 RPC.

func (*Client) Vibrate2_1

func (c *Client) Vibrate2_1(ctx context.Context, arg0 int64, arg1 int64) error

Vibrate2_1 calls the Vibrate2_1 RPC.

func (*Client) Vibrate2_2

func (c *Client) Vibrate2_2(ctx context.Context, arg0 int64, arg1 int64) error

Vibrate2_2 calls the Vibrate2_2 RPC.

func (*Client) Vibrate2_4

func (c *Client) Vibrate2_4(ctx context.Context, arg0 int64, arg1 int64) error

Vibrate2_4 calls the Vibrate2_4 RPC.

func (*Client) Vibrate2_5

func (c *Client) Vibrate2_5(ctx context.Context, arg0 int64, arg1 int32) error

Vibrate2_5 calls the Vibrate2_5 RPC.

func (*Client) Vibrate3_6

func (c *Client) Vibrate3_6(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error

Vibrate3_6 calls the Vibrate3_6 RPC.

Jump to

Keyboard shortcuts

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