Ruyi SDK
Namespaces
Ruyi.SDK.InputManager
InputManagerService.Client Class
Client Methods
GetConnectedGamepadsAsync Method
SetGamepadLightAsync Method
SetGamepadVibrationAsync Method
SetRuyiControllerStatusAsync Method
Click or drag to resizeClick or drag to resize

InputManagerServiceClientSetGamepadVibrationAsync Method

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

Namespace:  Ruyi.SDK.InputManager
Assembly:  SDK.Gen.ServiceAsync (in SDK.Gen.ServiceAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public Task<bool> SetGamepadVibrationAsync(
	string deviceId,
	sbyte motor1Value,
	sbyte motor1Time,
	sbyte motor2Value,
	sbyte motor2Time,
	CancellationToken cancellationToken
)

Parameters

deviceId
Type: SystemString

[Missing <param name="deviceId"/> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

motor1Value
Type: SystemSByte

[Missing <param name="motor1Value"/> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

motor1Time
Type: SystemSByte

[Missing <param name="motor1Time"/> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

motor2Value
Type: SystemSByte

[Missing <param name="motor2Value"/> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

motor2Time
Type: SystemSByte

[Missing <param name="motor2Time"/> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

cancellationToken
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

Return Value

Type: TaskBoolean

[Missing <returns> documentation for "M:Ruyi.SDK.InputManager.InputManagerService.Client.SetGamepadVibrationAsync(System.String,System.SByte,System.SByte,System.SByte,System.SByte,System.Threading.CancellationToken)"]

See Also

Reference

InputManagerServiceClient Class
Ruyi.SDK.InputManager Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com