VolumeInfo.IsVibrateEnabled 属性

定义

获取一个值,该值指示是否为手机启用振动。

public:
 property VibrateState IsVibrateEnabled { VibrateState get(); };
VibrateState IsVibrateEnabled();
public VibrateState IsVibrateEnabled { get; }
var vibrateState = volumeInfo.isVibrateEnabled;
Public ReadOnly Property IsVibrateEnabled As VibrateState

属性值

true 如果为手机启用了振动,则为 ;否则为 false

适用于