updateScreenScaling method
Update screen absolute scaling ratio.
Parameter userId
The user ID defined by customer.
Parameter ratio
Screen scaling ratio type.
Returns
- ResultCode.OK Success
- others: Failure
Note The default focus is center point of view.
更新屏幕的绝对缩放比例。
Parameter userId
客户定义的用户标识。
Parameter ratio
屏幕缩放比例类型。
Returns
- ResultCode.OK 成功
- 其他: 失败
Note 默认焦点是视图的中心点。
Implementation
@override
Future<ResultCode> updateScreenScaling(
String userId, ScreenScalingRatio ratio) {
return _invokeCodeMethod('updateScreenScaling', {
'userId': userId,
'ratio': ScreenScalingRatioConverter(ratio).value()
});
}