mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add locales property * Add member in definitions by * reverse * RN-incall-manager type definition * Remove public * Fix array declaration * Add static * Fix static, in test do a new * reverse * Class to instance of class
44 lines
814 B
TypeScript
44 lines
814 B
TypeScript
import InCallManager from "react-native-incall-manager";
|
|
|
|
InCallManager.start({ media: "video" });
|
|
|
|
InCallManager.start();
|
|
|
|
InCallManager.stop({ busytone: "video" });
|
|
|
|
InCallManager.stop();
|
|
|
|
InCallManager.turnScreenOn();
|
|
|
|
InCallManager.turnScreenOff();
|
|
|
|
InCallManager.setKeepScreenOn(true);
|
|
|
|
InCallManager.setKeepScreenOn();
|
|
|
|
InCallManager.setSpeakerphoneOn();
|
|
|
|
InCallManager.setSpeakerphoneOn(true);
|
|
|
|
InCallManager.setMicrophoneMute();
|
|
|
|
InCallManager.setMicrophoneMute(false);
|
|
|
|
InCallManager.checkRecordPermission();
|
|
|
|
InCallManager.requestRecordPermission();
|
|
|
|
InCallManager.getAudioUri("", "");
|
|
|
|
InCallManager.startRingtone();
|
|
|
|
InCallManager.startRingtone("", [], "", 0);
|
|
|
|
InCallManager.stopRingtone();
|
|
|
|
InCallManager.setFlashOn();
|
|
|
|
InCallManager.setFlashOn(true, 1);
|
|
|
|
InCallManager.getIsWiredHeadsetPluggedIn();
|