Documentation
¶
Index ¶
- type Client
- func (c *Client) AreAllEffectsSupported(ctx context.Context, arg0 int64) (int32, error)
- func (c *Client) AreAllPrimitivesSupported(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) AreEffectsSupported(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) AreEnvelopeEffectsSupported(ctx context.Context) (bool, error)
- func (c *Client) ArePrimitivesSupported(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) Cancel(ctx context.Context) error
- func (c *Client) GetEnvelopeEffectInfo(ctx context.Context) (int64, error)
- func (c *Client) GetFrequencyProfile(ctx context.Context) (int64, error)
- func (c *Client) GetId(ctx context.Context) (int32, error)
- func (c *Client) GetPrimitiveDurations(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) GetQFactor(ctx context.Context) (float32, error)
- func (c *Client) GetResonantFrequency(ctx context.Context) (float32, error)
- func (c *Client) HasAmplitudeControl(ctx context.Context) (bool, error)
- func (c *Client) HasVibrator(ctx context.Context) (bool, error)
- func (c *Client) Vibrate1(ctx context.Context, arg0 int64) error
- func (c *Client) Vibrate1_3(ctx context.Context, arg0 int64) error
- func (c *Client) Vibrate2_1(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) Vibrate2_2(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) Vibrate2_4(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) Vibrate2_5(ctx context.Context, arg0 int64, arg1 int32) error
- func (c *Client) Vibrate3_6(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
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
AreAllEffectsSupported calls the AreAllEffectsSupported RPC.
func (*Client) AreAllPrimitivesSupported ¶ added in v0.0.4
AreAllPrimitivesSupported calls the AreAllPrimitivesSupported RPC.
func (*Client) AreEffectsSupported ¶
AreEffectsSupported calls the AreEffectsSupported RPC.
func (*Client) AreEnvelopeEffectsSupported ¶
AreEnvelopeEffectsSupported calls the AreEnvelopeEffectsSupported RPC.
func (*Client) ArePrimitivesSupported ¶
ArePrimitivesSupported calls the ArePrimitivesSupported RPC.
func (*Client) GetEnvelopeEffectInfo ¶
GetEnvelopeEffectInfo calls the GetEnvelopeEffectInfo RPC.
func (*Client) GetFrequencyProfile ¶
GetFrequencyProfile calls the GetFrequencyProfile RPC.
func (*Client) GetPrimitiveDurations ¶
GetPrimitiveDurations calls the GetPrimitiveDurations RPC.
func (*Client) GetQFactor ¶
GetQFactor calls the GetQFactor RPC.
func (*Client) GetResonantFrequency ¶
GetResonantFrequency calls the GetResonantFrequency RPC.
func (*Client) HasAmplitudeControl ¶ added in v0.0.4
HasAmplitudeControl calls the HasAmplitudeControl RPC.
func (*Client) HasVibrator ¶ added in v0.0.4
HasVibrator calls the HasVibrator RPC.
func (*Client) Vibrate1_3 ¶
Vibrate1_3 calls the Vibrate1_3 RPC.
func (*Client) Vibrate2_1 ¶
Vibrate2_1 calls the Vibrate2_1 RPC.
func (*Client) Vibrate2_2 ¶
Vibrate2_2 calls the Vibrate2_2 RPC.
func (*Client) Vibrate2_4 ¶
Vibrate2_4 calls the Vibrate2_4 RPC.
func (*Client) Vibrate2_5 ¶
Vibrate2_5 calls the Vibrate2_5 RPC.