Showing the changes to interface/src/AndroidHelper.cpp (1 of 4 files). Show all
Unified · Split
| @@ -73,6 +73,14 @@ void AndroidHelper::notifyHeadsetOn(bool pluggedIn) { · 72 unmodified lines | |||
| 73 | #endif | 73 | #endif |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | void AndroidHelper::muteMic() { | ||
| 77 | auto audioClient = DependencyManager::get<AudioClient>(); | ||
| 78 | if (audioClient) { | ||
| 79 | QMetaObject::invokeMethod(audioClient.data(), "setMuted", Q_ARG(bool, true), Q_ARG(bool, true)); | ||
| 80 | } | ||
| 81 | } | ||
| 82 | |||
| 83 | |||
| 76 | void AndroidHelper::signup(QString email, QString username, QString password) { | 84 | void AndroidHelper::signup(QString email, QString username, QString password) { |
| 77 | JSONCallbackParameters callbackParams; | 85 | JSONCallbackParameters callbackParams; |
| 78 | callbackParams.callbackReceiver = this; | 86 | callbackParams.callbackReceiver = this; |