@nodert-win11/windows.applicationmodel.calls
Version:
Use the Windows.ApplicationModel.Calls UWP API directly from Node.js
1,475 lines (1,150 loc) • 43.7 kB
JavaScript
Color = (function () {
var cls = function Color() {
};
return cls;
}) ();
exports.Color = Color;
CallsPhoneContract = (function () {
var cls = function CallsPhoneContract() {
};
return cls;
}) ();
exports.CallsPhoneContract = CallsPhoneContract;
CallsVoipContract = (function () {
var cls = function CallsVoipContract() {
};
return cls;
}) ();
exports.CallsVoipContract = CallsVoipContract;
LockScreenCallContract = (function () {
var cls = function LockScreenCallContract() {
};
return cls;
}) ();
exports.LockScreenCallContract = LockScreenCallContract;
_CellularDtmfMode = function () {
this.continuous = 0;
this.burst = 1;
}
exports.CellularDtmfMode = new _CellularDtmfMode();
_DtmfKey = function () {
this.d0 = 0;
this.d1 = 1;
this.d2 = 2;
this.d3 = 3;
this.d4 = 4;
this.d5 = 5;
this.d6 = 6;
this.d7 = 7;
this.d8 = 8;
this.d9 = 9;
this.star = 10;
this.pound = 11;
}
exports.DtmfKey = new _DtmfKey();
_DtmfToneAudioPlayback = function () {
this.play = 0;
this.doNotPlay = 1;
}
exports.DtmfToneAudioPlayback = new _DtmfToneAudioPlayback();
_PhoneAudioRoutingEndpoint = function () {
this.default = 0;
this.bluetooth = 1;
this.speakerphone = 2;
}
exports.PhoneAudioRoutingEndpoint = new _PhoneAudioRoutingEndpoint();
_PhoneCallAudioDevice = function () {
this.unknown = 0;
this.localDevice = 1;
this.remoteDevice = 2;
}
exports.PhoneCallAudioDevice = new _PhoneCallAudioDevice();
_PhoneCallDirection = function () {
this.unknown = 0;
this.incoming = 1;
this.outgoing = 2;
}
exports.PhoneCallDirection = new _PhoneCallDirection();
_PhoneCallHistoryEntryMedia = function () {
this.audio = 0;
this.video = 1;
}
exports.PhoneCallHistoryEntryMedia = new _PhoneCallHistoryEntryMedia();
_PhoneCallHistoryEntryOtherAppReadAccess = function () {
this.full = 0;
this.systemOnly = 1;
}
exports.PhoneCallHistoryEntryOtherAppReadAccess = new _PhoneCallHistoryEntryOtherAppReadAccess();
_PhoneCallHistoryEntryQueryDesiredMedia = function () {
this.none = 0;
this.audio = 1;
this.video = 2;
this.all = 3;
}
exports.PhoneCallHistoryEntryQueryDesiredMedia = new _PhoneCallHistoryEntryQueryDesiredMedia();
_PhoneCallHistoryEntryRawAddressKind = function () {
this.phoneNumber = 0;
this.custom = 1;
}
exports.PhoneCallHistoryEntryRawAddressKind = new _PhoneCallHistoryEntryRawAddressKind();
_PhoneCallHistorySourceIdKind = function () {
this.cellularPhoneLineId = 0;
this.packageFamilyName = 1;
}
exports.PhoneCallHistorySourceIdKind = new _PhoneCallHistorySourceIdKind();
_PhoneCallHistoryStoreAccessType = function () {
this.appEntriesReadWrite = 0;
this.allEntriesLimitedReadWrite = 1;
this.allEntriesReadWrite = 2;
}
exports.PhoneCallHistoryStoreAccessType = new _PhoneCallHistoryStoreAccessType();
_PhoneCallMedia = function () {
this.audio = 0;
this.audioAndVideo = 1;
this.audioAndRealTimeText = 2;
}
exports.PhoneCallMedia = new _PhoneCallMedia();
_PhoneCallOperationStatus = function () {
this.succeeded = 0;
this.otherFailure = 1;
this.timedOut = 2;
this.connectionLost = 3;
this.invalidCallState = 4;
}
exports.PhoneCallOperationStatus = new _PhoneCallOperationStatus();
_PhoneCallStatus = function () {
this.lost = 0;
this.incoming = 1;
this.dialing = 2;
this.talking = 3;
this.held = 4;
this.ended = 5;
}
exports.PhoneCallStatus = new _PhoneCallStatus();
_PhoneLineNetworkOperatorDisplayTextLocation = function () {
this.default = 0;
this.tile = 1;
this.dialer = 2;
this.inCallUI = 3;
}
exports.PhoneLineNetworkOperatorDisplayTextLocation = new _PhoneLineNetworkOperatorDisplayTextLocation();
_PhoneLineOperationStatus = function () {
this.succeeded = 0;
this.otherFailure = 1;
this.timedOut = 2;
this.connectionLost = 3;
this.invalidCallState = 4;
}
exports.PhoneLineOperationStatus = new _PhoneLineOperationStatus();
_PhoneLineTransport = function () {
this.cellular = 0;
this.voipApp = 1;
this.bluetooth = 2;
}
exports.PhoneLineTransport = new _PhoneLineTransport();
_PhoneLineWatcherStatus = function () {
this.created = 0;
this.started = 1;
this.enumerationCompleted = 2;
this.stopped = 3;
}
exports.PhoneLineWatcherStatus = new _PhoneLineWatcherStatus();
_PhoneNetworkState = function () {
this.unknown = 0;
this.noSignal = 1;
this.deregistered = 2;
this.denied = 3;
this.searching = 4;
this.home = 5;
this.roamingInternational = 6;
this.roamingDomestic = 7;
}
exports.PhoneNetworkState = new _PhoneNetworkState();
_PhoneSimState = function () {
this.unknown = 0;
this.pinNotRequired = 1;
this.pinUnlocked = 2;
this.pinLocked = 3;
this.pukLocked = 4;
this.notInserted = 5;
this.invalid = 6;
this.disabled = 7;
}
exports.PhoneSimState = new _PhoneSimState();
_PhoneVoicemailType = function () {
this.none = 0;
this.traditional = 1;
this.visual = 2;
}
exports.PhoneVoicemailType = new _PhoneVoicemailType();
_TransportDeviceAudioRoutingStatus = function () {
this.unknown = 0;
this.canRouteToLocalDevice = 1;
this.cannotRouteToLocalDevice = 2;
}
exports.TransportDeviceAudioRoutingStatus = new _TransportDeviceAudioRoutingStatus();
_VoipPhoneCallMedia = function () {
this.none = 0;
this.audio = 1;
this.video = 2;
}
exports.VoipPhoneCallMedia = new _VoipPhoneCallMedia();
_VoipPhoneCallRejectReason = function () {
this.userIgnored = 0;
this.timedOut = 1;
this.otherIncomingCall = 2;
this.emergencyCallExists = 3;
this.invalidCallState = 4;
}
exports.VoipPhoneCallRejectReason = new _VoipPhoneCallRejectReason();
_VoipPhoneCallResourceReservationStatus = function () {
this.success = 0;
this.resourcesNotAvailable = 1;
}
exports.VoipPhoneCallResourceReservationStatus = new _VoipPhoneCallResourceReservationStatus();
_VoipPhoneCallState = function () {
this.ended = 0;
this.held = 1;
this.active = 2;
this.incoming = 3;
this.outgoing = 4;
}
exports.VoipPhoneCallState = new _VoipPhoneCallState();
CallAnswerEventArgs = (function () {
var cls = function CallAnswerEventArgs() {
this.acceptedMedia = new VoipPhoneCallMedia();
};
return cls;
}) ();
exports.CallAnswerEventArgs = CallAnswerEventArgs;
CallRejectEventArgs = (function () {
var cls = function CallRejectEventArgs() {
this.rejectReason = new VoipPhoneCallRejectReason();
};
return cls;
}) ();
exports.CallRejectEventArgs = CallRejectEventArgs;
CallStateChangeEventArgs = (function () {
var cls = function CallStateChangeEventArgs() {
this.state = new VoipPhoneCallState();
};
return cls;
}) ();
exports.CallStateChangeEventArgs = CallStateChangeEventArgs;
LockScreenCallEndCallDeferral = (function () {
var cls = function LockScreenCallEndCallDeferral() {
};
cls.prototype.complete = function complete() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
return cls;
}) ();
exports.LockScreenCallEndCallDeferral = LockScreenCallEndCallDeferral;
LockScreenCallEndRequestedEventArgs = (function () {
var cls = function LockScreenCallEndRequestedEventArgs() {
this.deadline = new Date();
};
cls.prototype.getDeferral = function getDeferral() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="LockScreenCallEndCallDeferral" />
/// </signature>
return new LockScreenCallEndCallDeferral();
}
return cls;
}) ();
exports.LockScreenCallEndRequestedEventArgs = LockScreenCallEndRequestedEventArgs;
LockScreenCallUI = (function () {
var cls = function LockScreenCallUI() {
this.callTitle = new String();
};
cls.prototype.dismiss = function dismiss() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.LockScreenCallUI = LockScreenCallUI;
MuteChangeEventArgs = (function () {
var cls = function MuteChangeEventArgs() {
this.muted = new Boolean();
};
return cls;
}) ();
exports.MuteChangeEventArgs = MuteChangeEventArgs;
PhoneCall = (function () {
var cls = function PhoneCall() {
this.audioDevice = new PhoneCallAudioDevice();
this.callId = new String();
this.isMuted = new Boolean();
this.status = new PhoneCallStatus();
};
cls.prototype.getPhoneCallInfoAsync = function getPhoneCallInfoAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.endAsync = function endAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.sendDtmfKeyAsync = function sendDtmfKeyAsync(key, dtmfToneAudioPlayback, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="key" type="DtmfKey">A param.</param>
/// <param name="dtmfToneAudioPlayback" type="DtmfToneAudioPlayback">A param.</param>
/// </signature>
}
cls.prototype.acceptIncomingAsync = function acceptIncomingAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.holdAsync = function holdAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.resumeFromHoldAsync = function resumeFromHoldAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.muteAsync = function muteAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.unmuteAsync = function unmuteAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.rejectIncomingAsync = function rejectIncomingAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.changeAudioDeviceAsync = function changeAudioDeviceAsync(endpoint, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="endpoint" type="PhoneCallAudioDevice">A param.</param>
/// </signature>
}
cls.prototype.getPhoneCallInfo = function getPhoneCallInfo() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallInfo" />
/// </signature>
return new PhoneCallInfo();
}
cls.prototype.end = function end() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.sendDtmfKey = function sendDtmfKey(key, dtmfToneAudioPlayback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="key" type="DtmfKey">A param.</param>
/// <param name="dtmfToneAudioPlayback" type="DtmfToneAudioPlayback">A param.</param>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.acceptIncoming = function acceptIncoming() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.hold = function hold() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.resumeFromHold = function resumeFromHold() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.mute = function mute() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.unmute = function unmute() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.rejectIncoming = function rejectIncoming() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.prototype.changeAudioDevice = function changeAudioDevice(endpoint) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="endpoint" type="PhoneCallAudioDevice">A param.</param>
/// <returns type="PhoneCallOperationStatus" />
/// </signature>
return new PhoneCallOperationStatus();
}
cls.getFromId = function getFromId(callId) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callId" type="String">A param.</param>
/// <returns type="PhoneCall" />
/// </signature>
return new PhoneCall();
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.PhoneCall = PhoneCall;
PhoneCallBlocking = (function () {
var cls = function PhoneCallBlocking() {
};
cls.setCallBlockingListAsync = function setCallBlockingListAsync(phoneNumberList, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="phoneNumberList" type="Object">A param.</param>
/// </signature>
}
cls.blockUnknownNumbers = new Boolean();
cls.blockPrivateNumbers = new Boolean();
return cls;
}) ();
exports.PhoneCallBlocking = PhoneCallBlocking;
PhoneCallHistoryEntry = (function () {
var cls = function PhoneCallHistoryEntry() {
this.media = new PhoneCallHistoryEntryMedia();
this.isMissed = new Boolean();
this.isIncoming = new Boolean();
this.isCallerIdBlocked = new Boolean();
this.isSeen = new Boolean();
this.duration = new Number();
this.isEmergency = new Boolean();
this.isSuppressed = new Boolean();
this.startTime = new Date();
this.sourceIdKind = new PhoneCallHistorySourceIdKind();
this.address = new PhoneCallHistoryEntryAddress();
this.sourceId = new String();
this.remoteId = new String();
this.otherAppReadAccess = new PhoneCallHistoryEntryOtherAppReadAccess();
this.isRinging = new Boolean();
this.isVoicemail = new Boolean();
this.id = new String();
this.sourceDisplayName = new String();
};
return cls;
}) ();
exports.PhoneCallHistoryEntry = PhoneCallHistoryEntry;
PhoneCallHistoryEntryAddress = (function () {
var cls = function PhoneCallHistoryEntryAddress() {
this.rawAddressKind = new PhoneCallHistoryEntryRawAddressKind();
this.rawAddress = new String();
this.displayName = new String();
this.contactId = new String();
};
var cls = function PhoneCallHistoryEntryAddress(rawAddress, rawAddressKind) {
this.rawAddressKind = new PhoneCallHistoryEntryRawAddressKind();
this.rawAddress = new String();
this.displayName = new String();
this.contactId = new String();
};
return cls;
}) ();
exports.PhoneCallHistoryEntryAddress = PhoneCallHistoryEntryAddress;
PhoneCallHistoryEntryQueryOptions = (function () {
var cls = function PhoneCallHistoryEntryQueryOptions() {
this.desiredMedia = new PhoneCallHistoryEntryQueryDesiredMedia();
this.sourceIds = new Object();
};
return cls;
}) ();
exports.PhoneCallHistoryEntryQueryOptions = PhoneCallHistoryEntryQueryOptions;
PhoneCallHistoryEntryReader = (function () {
var cls = function PhoneCallHistoryEntryReader() {
};
cls.prototype.readBatchAsync = function readBatchAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
return cls;
}) ();
exports.PhoneCallHistoryEntryReader = PhoneCallHistoryEntryReader;
PhoneCallHistoryManager = (function () {
var cls = function PhoneCallHistoryManager() {
};
cls.requestStoreAsync = function requestStoreAsync(accessType, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="accessType" type="PhoneCallHistoryStoreAccessType">A param.</param>
/// </signature>
}
cls.getForUser = function getForUser(user) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="user" type="Object">A param.</param>
/// <returns type="PhoneCallHistoryManagerForUser" />
/// </signature>
return new PhoneCallHistoryManagerForUser();
}
return cls;
}) ();
exports.PhoneCallHistoryManager = PhoneCallHistoryManager;
PhoneCallHistoryManagerForUser = (function () {
var cls = function PhoneCallHistoryManagerForUser() {
this.user = new Object();
};
cls.prototype.requestStoreAsync = function requestStoreAsync(accessType, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="accessType" type="PhoneCallHistoryStoreAccessType">A param.</param>
/// </signature>
}
return cls;
}) ();
exports.PhoneCallHistoryManagerForUser = PhoneCallHistoryManagerForUser;
PhoneCallHistoryStore = (function () {
var cls = function PhoneCallHistoryStore() {
};
cls.prototype.getEntryAsync = function getEntryAsync(callHistoryEntryId, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callHistoryEntryId" type="String">A param.</param>
/// </signature>
}
cls.prototype.saveEntryAsync = function saveEntryAsync(callHistoryEntry, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callHistoryEntry" type="PhoneCallHistoryEntry">A param.</param>
/// </signature>
}
cls.prototype.deleteEntryAsync = function deleteEntryAsync(callHistoryEntry, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callHistoryEntry" type="PhoneCallHistoryEntry">A param.</param>
/// </signature>
}
cls.prototype.deleteEntriesAsync = function deleteEntriesAsync(callHistoryEntries, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callHistoryEntries" type="Object">A param.</param>
/// </signature>
}
cls.prototype.markEntryAsSeenAsync = function markEntryAsSeenAsync(callHistoryEntry, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callHistoryEntry" type="PhoneCallHistoryEntry">A param.</param>
/// </signature>
}
cls.prototype.markEntriesAsSeenAsync = function markEntriesAsSeenAsync(callHistoryEntries, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callHistoryEntries" type="Object">A param.</param>
/// </signature>
}
cls.prototype.getUnseenCountAsync = function getUnseenCountAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.markAllAsSeenAsync = function markAllAsSeenAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.getSourcesUnseenCountAsync = function getSourcesUnseenCountAsync(sourceIds, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="sourceIds" type="Object">A param.</param>
/// </signature>
}
cls.prototype.markSourcesAsSeenAsync = function markSourcesAsSeenAsync(sourceIds, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="sourceIds" type="Object">A param.</param>
/// </signature>
}
cls.prototype.getEntryReader = function getEntryReader() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallHistoryEntryReader" />
/// </signature>
return new PhoneCallHistoryEntryReader();
}
cls.prototype.getEntryReader = function getEntryReader(queryOptions) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="queryOptions" type="PhoneCallHistoryEntryQueryOptions">A param.</param>
/// <returns type="PhoneCallHistoryEntryReader" />
/// </signature>
return new PhoneCallHistoryEntryReader();
}
return cls;
}) ();
exports.PhoneCallHistoryStore = PhoneCallHistoryStore;
PhoneCallInfo = (function () {
var cls = function PhoneCallInfo() {
this.callDirection = new PhoneCallDirection();
this.displayName = new String();
this.isHoldSupported = new Boolean();
this.lineId = new String();
this.phoneNumber = new String();
this.startTime = new Date();
};
return cls;
}) ();
exports.PhoneCallInfo = PhoneCallInfo;
PhoneCallManager = (function () {
var cls = function PhoneCallManager() {
};
cls.requestStoreAsync = function requestStoreAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.showPhoneCallSettingsUI = function showPhoneCallSettingsUI() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.showPhoneCallUI = function showPhoneCallUI(phoneNumber, displayName) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="phoneNumber" type="String">A param.</param>
/// <param name="displayName" type="String">A param.</param>
/// </signature>
}
cls.isCallActive = new Boolean();
cls.isCallIncoming = new Boolean();
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.PhoneCallManager = PhoneCallManager;
PhoneCallStore = (function () {
var cls = function PhoneCallStore() {
};
cls.prototype.isEmergencyPhoneNumberAsync = function isEmergencyPhoneNumberAsync(number, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="number" type="String">A param.</param>
/// </signature>
}
cls.prototype.getDefaultLineAsync = function getDefaultLineAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.requestLineWatcher = function requestLineWatcher() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneLineWatcher" />
/// </signature>
return new PhoneLineWatcher();
}
return cls;
}) ();
exports.PhoneCallStore = PhoneCallStore;
PhoneCallVideoCapabilities = (function () {
var cls = function PhoneCallVideoCapabilities() {
this.isVideoCallingCapable = new Boolean();
};
return cls;
}) ();
exports.PhoneCallVideoCapabilities = PhoneCallVideoCapabilities;
PhoneCallVideoCapabilitiesManager = (function () {
var cls = function PhoneCallVideoCapabilitiesManager() {
};
cls.getCapabilitiesAsync = function getCapabilitiesAsync(phoneNumber, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="phoneNumber" type="String">A param.</param>
/// </signature>
}
return cls;
}) ();
exports.PhoneCallVideoCapabilitiesManager = PhoneCallVideoCapabilitiesManager;
PhoneCallsResult = (function () {
var cls = function PhoneCallsResult() {
this.allActivePhoneCalls = new Object();
this.operationStatus = new PhoneLineOperationStatus();
};
return cls;
}) ();
exports.PhoneCallsResult = PhoneCallsResult;
PhoneDialOptions = (function () {
var cls = function PhoneDialOptions() {
this.number = new String();
this.media = new PhoneCallMedia();
this.displayName = new String();
this.contactPhone = new Object();
this.contact = new Object();
this.audioEndpoint = new PhoneAudioRoutingEndpoint();
};
return cls;
}) ();
exports.PhoneDialOptions = PhoneDialOptions;
PhoneLine = (function () {
var cls = function PhoneLine() {
this.canDial = new Boolean();
this.cellularDetails = new PhoneLineCellularDetails();
this.displayColor = new Object();
this.displayName = new String();
this.id = new String();
this.lineConfiguration = new PhoneLineConfiguration();
this.networkName = new String();
this.networkState = new PhoneNetworkState();
this.supportsTile = new Boolean();
this.transport = new PhoneLineTransport();
this.videoCallingCapabilities = new PhoneCallVideoCapabilities();
this.voicemail = new PhoneVoicemail();
this.transportDeviceId = new String();
};
cls.prototype.isImmediateDialNumberAsync = function isImmediateDialNumberAsync(number, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="number" type="String">A param.</param>
/// </signature>
}
cls.prototype.dialWithResultAsync = function dialWithResultAsync(number, displayName, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="number" type="String">A param.</param>
/// <param name="displayName" type="String">A param.</param>
/// </signature>
}
cls.prototype.getAllActivePhoneCallsAsync = function getAllActivePhoneCallsAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.dial = function dial(number, displayName) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="number" type="String">A param.</param>
/// <param name="displayName" type="String">A param.</param>
/// </signature>
}
cls.prototype.dialWithOptions = function dialWithOptions(options) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="options" type="PhoneDialOptions">A param.</param>
/// </signature>
}
cls.prototype.enableTextReply = function enableTextReply(value) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="value" type="Boolean">A param.</param>
/// </signature>
}
cls.prototype.dialWithResult = function dialWithResult(number, displayName) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="number" type="String">A param.</param>
/// <param name="displayName" type="String">A param.</param>
/// <returns type="PhoneLineDialResult" />
/// </signature>
return new PhoneLineDialResult();
}
cls.prototype.getAllActivePhoneCalls = function getAllActivePhoneCalls() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="PhoneCallsResult" />
/// </signature>
return new PhoneCallsResult();
}
cls.fromIdAsync = function fromIdAsync(lineId, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="lineId" type="String">A param.</param>
/// </signature>
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.PhoneLine = PhoneLine;
PhoneLineCellularDetails = (function () {
var cls = function PhoneLineCellularDetails() {
this.isModemOn = new Boolean();
this.registrationRejectCode = new Number();
this.simSlotIndex = new Number();
this.simState = new PhoneSimState();
};
cls.prototype.getNetworkOperatorDisplayText = function getNetworkOperatorDisplayText(location) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="location" type="PhoneLineNetworkOperatorDisplayTextLocation">A param.</param>
/// <returns type="String" />
/// </signature>
return new String();
}
return cls;
}) ();
exports.PhoneLineCellularDetails = PhoneLineCellularDetails;
PhoneLineConfiguration = (function () {
var cls = function PhoneLineConfiguration() {
this.extendedProperties = new Object();
this.isVideoCallingEnabled = new Boolean();
};
return cls;
}) ();
exports.PhoneLineConfiguration = PhoneLineConfiguration;
PhoneLineDialResult = (function () {
var cls = function PhoneLineDialResult() {
this.dialCallStatus = new PhoneCallOperationStatus();
this.dialedCall = new PhoneCall();
};
return cls;
}) ();
exports.PhoneLineDialResult = PhoneLineDialResult;
PhoneLineTransportDevice = (function () {
var cls = function PhoneLineTransportDevice() {
this.deviceId = new String();
this.transport = new PhoneLineTransport();
this.audioRoutingStatus = new TransportDeviceAudioRoutingStatus();
this.inBandRingingEnabled = new Boolean();
};
cls.prototype.requestAccessAsync = function requestAccessAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.connectAsync = function connectAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.registerApp = function registerApp() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.registerAppForUser = function registerAppForUser(user) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="user" type="Object">A param.</param>
/// </signature>
}
cls.prototype.unregisterApp = function unregisterApp() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.unregisterAppForUser = function unregisterAppForUser(user) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="user" type="Object">A param.</param>
/// </signature>
}
cls.prototype.isRegistered = function isRegistered() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="Boolean" />
/// </signature>
return new Boolean();
}
cls.prototype.connect = function connect() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="Boolean" />
/// </signature>
return new Boolean();
}
cls.fromId = function fromId(id) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="id" type="String">A param.</param>
/// <returns type="PhoneLineTransportDevice" />
/// </signature>
return new PhoneLineTransportDevice();
}
cls.getDeviceSelector = function getDeviceSelector() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="String" />
/// </signature>
return new String();
}
cls.getDeviceSelector = function getDeviceSelector(transport) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="transport" type="PhoneLineTransport">A param.</param>
/// <returns type="String" />
/// </signature>
return new String();
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.PhoneLineTransportDevice = PhoneLineTransportDevice;
PhoneLineWatcher = (function () {
var cls = function PhoneLineWatcher() {
this.status = new PhoneLineWatcherStatus();
};
cls.prototype.start = function start() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.stop = function stop() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.PhoneLineWatcher = PhoneLineWatcher;
PhoneLineWatcherEventArgs = (function () {
var cls = function PhoneLineWatcherEventArgs() {
this.lineId = new String();
};
return cls;
}) ();
exports.PhoneLineWatcherEventArgs = PhoneLineWatcherEventArgs;
PhoneVoicemail = (function () {
var cls = function PhoneVoicemail() {
this.messageCount = new Number();
this.number = new String();
this.type = new PhoneVoicemailType();
};
cls.prototype.dialVoicemailAsync = function dialVoicemailAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
return cls;
}) ();
exports.PhoneVoicemail = PhoneVoicemail;
VoipCallCoordinator = (function () {
var cls = function VoipCallCoordinator() {
};
cls.prototype.reserveCallResourcesAsync = function reserveCallResourcesAsync(taskEntryPoint, callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="taskEntryPoint" type="String">A param.</param>
/// </signature>
}
cls.prototype.reserveCallResourcesAsync = function reserveCallResourcesAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.requestNewIncomingCall = function requestNewIncomingCall(context, contactName, contactNumber, contactImage, serviceName, brandingImage, callDetails, ringtone, media, ringTimeout) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="contactNumber" type="String">A param.</param>
/// <param name="contactImage" type="Object">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <param name="brandingImage" type="Object">A param.</param>
/// <param name="callDetails" type="String">A param.</param>
/// <param name="ringtone" type="Object">A param.</param>
/// <param name="media" type="VoipPhoneCallMedia">A param.</param>
/// <param name="ringTimeout" type="Number">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.prototype.requestNewIncomingCall = function requestNewIncomingCall(context, contactName, contactNumber, contactImage, serviceName, brandingImage, callDetails, ringtone, media, ringTimeout, contactRemoteId) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="contactNumber" type="String">A param.</param>
/// <param name="contactImage" type="Object">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <param name="brandingImage" type="Object">A param.</param>
/// <param name="callDetails" type="String">A param.</param>
/// <param name="ringtone" type="Object">A param.</param>
/// <param name="media" type="VoipPhoneCallMedia">A param.</param>
/// <param name="ringTimeout" type="Number">A param.</param>
/// <param name="contactRemoteId" type="String">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.prototype.requestNewOutgoingCall = function requestNewOutgoingCall(context, contactName, serviceName, media) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <param name="media" type="VoipPhoneCallMedia">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.prototype.notifyMuted = function notifyMuted() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.notifyUnmuted = function notifyUnmuted() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.requestOutgoingUpgradeToVideoCall = function requestOutgoingUpgradeToVideoCall(callUpgradeGuid, context, contactName, serviceName) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callUpgradeGuid" type="String">A param.</param>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.prototype.requestIncomingUpgradeToVideoCall = function requestIncomingUpgradeToVideoCall(context, contactName, contactNumber, contactImage, serviceName, brandingImage, callDetails, ringtone, ringTimeout) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="contactNumber" type="String">A param.</param>
/// <param name="contactImage" type="Object">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <param name="brandingImage" type="Object">A param.</param>
/// <param name="callDetails" type="String">A param.</param>
/// <param name="ringtone" type="Object">A param.</param>
/// <param name="ringTimeout" type="Number">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.prototype.terminateCellularCall = function terminateCellularCall(callUpgradeGuid) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callUpgradeGuid" type="String">A param.</param>
/// </signature>
}
cls.prototype.cancelUpgrade = function cancelUpgrade(callUpgradeGuid) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="callUpgradeGuid" type="String">A param.</param>
/// </signature>
}
cls.prototype.setupNewAcceptedCall = function setupNewAcceptedCall(context, contactName, contactNumber, serviceName, media) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="contactNumber" type="String">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <param name="media" type="VoipPhoneCallMedia">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.prototype.requestNewAppInitiatedCall = function requestNewAppInitiatedCall(context, contactName, contactNumber, serviceName, media) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="context" type="String">A param.</param>
/// <param name="contactName" type="String">A param.</param>
/// <param name="contactNumber" type="String">A param.</param>
/// <param name="serviceName" type="String">A param.</param>
/// <param name="media" type="VoipPhoneCallMedia">A param.</param>
/// <returns type="VoipPhoneCall" />
/// </signature>
return new VoipPhoneCall();
}
cls.getDefault = function getDefault() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="VoipCallCoordinator" />
/// </signature>
return new VoipCallCoordinator();
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.VoipCallCoordinator = VoipCallCoordinator;
VoipPhoneCall = (function () {
var cls = function VoipPhoneCall() {
this.startTime = new Date();
this.contactName = new String();
this.callMedia = new VoipPhoneCallMedia();
};
cls.prototype.notifyCallHeld = function notifyCallHeld() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.notifyCallActive = function notifyCallActive() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.notifyCallEnded = function notifyCallEnded() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.notifyCallReady = function notifyCallReady() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.tryShowAppUI = function tryShowAppUI() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.notifyCallAccepted = function notifyCallAccepted(media) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="media" type="VoipPhoneCallMedia">A param.</param>
/// </signature>
}
cls.prototype.addListener = function addListener(eventName, callback){}
cls.prototype.removeListener = function removeListener(eventName, callback){}
cls.prototype.on = function on(eventName, callback){}
cls.prototype.off = function off(eventName, callback){}
return cls;
}) ();
exports.VoipPhoneCall = VoipPhoneCall;