RTCPeerConnection.onidentityresult
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
RTCPeerConnection.onidentityresult
이벤트 핸들러는 RTCPeerConnection
가 RTCIdentityEvent
타입의 identityresult
이벤트를 수신하게되면 실행되는 코드를 담고 있는 속성입니다. 이러한 이벤트는 getIdentityAssertion()
혹은 offer 혹은 answer를 생성하는 과정에 의해 식별인자 주장이 생성되면 전송됩니다.
Syntax
peerconnection.onidentityresult = function;
값
function
은 개발자가 정의한 함수로 괄호()
나 매개 변수 혹은function(event) {...}
와 같은 이름 없는 함수 정의가 필요 없습니다. 이벤트 핸들러는 항상RTCIdentityEvent
타입의 이벤트를 포함하는 하나의 변수를 가집니다.
예시
pc.onidentityresult = function(ev) { alert("onidentityresult event detected!"); };
사양서
사양서 | 상태 | 코멘트 |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCPeerConnection.onidentityresult' in that specification. |
Candidate Recommendation | Initial specification. |
브라우저 호환성
BCD tables only load in the browser
참조
identityresult
이벤트와 해당 타입인RTCIdentityEvent
를 참조하십시오.