mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
extend wake lock scope to screen to avoid sound system from going to standby
This commit is contained in:
parent
add223eb06
commit
226f635662
2 changed files with 9 additions and 0 deletions
|
|
@ -153,6 +153,11 @@ public interface LinphoneCore {
|
|||
* @param isMuted
|
||||
*/
|
||||
public void muteMic(boolean isMuted);
|
||||
/**
|
||||
*
|
||||
* @return true is mic is muted
|
||||
*/
|
||||
public boolean isMicMuted();
|
||||
/**
|
||||
* Build an address according to the current proxy config. In case destination is not a sip uri, the default proxy domain is automatically appended
|
||||
* @param destination
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
private native void inviteAddress(long nativePtr,long to);
|
||||
private native void sendDtmf(long nativePtr,char dtmf);
|
||||
private native void clearCallLogs(long nativePtr);
|
||||
private native boolean isMicMuted(long nativePtr);
|
||||
|
||||
|
||||
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
|
||||
|
|
@ -190,4 +191,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public void clearCallLogs() {
|
||||
clearCallLogs(nativePtr);
|
||||
}
|
||||
public boolean isMicMuted() {
|
||||
return isMicMuted(nativePtr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue