-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable
public final class BeepManager implements Closeable
音效管理器:主要用于播放蜂鸣提示音和振动效果
-
-
Constructor Summary
Constructors Constructor Description BeepManager(Context context)
-
Method Summary
Modifier and Type Method Description voidsetPlayBeep(boolean playBeep)voidsetVibrate(boolean vibrate)voidplayBeepSoundAndVibrate()voidclose()-
-
Method Detail
-
setPlayBeep
void setPlayBeep(boolean playBeep)
-
setVibrate
void setVibrate(boolean vibrate)
-
playBeepSoundAndVibrate
void playBeepSoundAndVibrate()
-
close
void close()
-
-
-
-