다음을 통해 공유


VoipCallCoordinator.RequestNewAppInitiatedCall 메서드

정의

시스템에서 새 호출 개체를 요청합니다. VoIP 앱에서 이 메서드를 호출하여 시스템에 새 수신 통화가 있고 해당 새 호출에 대한 수신 전화 알림을 호스트할 것을 알릴 수 있습니다.

public:
 virtual VoipPhoneCall ^ RequestNewAppInitiatedCall(Platform::String ^ context, Platform::String ^ contactName, Platform::String ^ contactNumber, Platform::String ^ serviceName, VoipPhoneCallMedia media) = RequestNewAppInitiatedCall;
VoipPhoneCall RequestNewAppInitiatedCall(winrt::hstring const& context, winrt::hstring const& contactName, winrt::hstring const& contactNumber, winrt::hstring const& serviceName, VoipPhoneCallMedia const& media);
public VoipPhoneCall RequestNewAppInitiatedCall(string context, string contactName, string contactNumber, string serviceName, VoipPhoneCallMedia media);
function requestNewAppInitiatedCall(context, contactName, contactNumber, serviceName, media)
Public Function RequestNewAppInitiatedCall (context As String, contactName As String, contactNumber As String, serviceName As String, media As VoipPhoneCallMedia) As VoipPhoneCall

매개 변수

context
String

Platform::String

winrt::hstring

연결된 포그라운드 앱에 딥 링크로 전달되는 문자열입니다. 최대 길이는 128자입니다. 이 매개 변수는 null이 아니어야 합니다.

contactName
String

Platform::String

winrt::hstring

들어오는 호출 UI에 표시할 호출자의 연락처 이름입니다. 최대 길이는 128자입니다.

contactNumber
String

Platform::String

winrt::hstring

수신 전화 UI에 표시할 발신자의 전화 번호입니다. 최대 길이는 128자입니다.

serviceName
String

Platform::String

winrt::hstring

VoIP 서비스 또는 애플리케이션의 이름입니다. 최대 길이는 128자입니다.

media
VoipPhoneCallMedia

새 수신 통화의 미디어 유형입니다(오디오 및 비디오 또는 오디오만 해당). 오디오 전달|사용자가 발신 비디오로 통화에 응답할 수 있는 옵션이 있어야 하는 경우 비디오입니다. 이는 사용자의 디바이스에 통화가 도착할 때 앱에서 사용할 수 있는 카메라가 있다고 가정합니다. 그렇지 않거나 사용자가 오디오만 사용해야 하는 경우 Audio를 전달 합니다.

반환

새 시작 호출을 나타내는 개체입니다.

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.ApplicationModel.Calls.CallsVoipContract (v3.0에서 도입되었습니다.)
앱 기능
backgroundVoIP voipCall

설명

이 메서드를 사용하여 새 VoipPhoneCall 개체를 만듭니다. VoipPhoneCall 개체를 사용하여 앱 내 통화 알림을 보내고 VoipPhoneCall이 발생시키는 이벤트를 처리할 수 있습니다. 이러한 알림 및 이벤트를 사용하는 방법에 대한 자세한 내용은 VoipPhoneCall 을 참조하세요.

적용 대상

추가 정보