This translation is incomplete. Please help translate this article from English.
これは実験段階の機能です。
この機能は複数のブラウザで開発中の状態にあります。各ブラウザで用いるために、適切なベンダー接頭辞が必要な場合があります。互換性テーブルをチェックしてください。また、実験段階の機能の構文と挙動は、仕様変更に伴い各ブラウザの将来のバージョンで変更になる可能性があることに注意してください。
RTCIdentityErrorEvent インタフェースは、通常 RTCPeerConnection に関連付けられたアイデンティティー・プロバイダ(IdP) を示すイベントを表現します。これは、遭遇したエラーを持ちます。idpassertionerror とidpvalidationerrorの2つのイベントタイプを持ちます。
Firefox implements this interface under the following name: RTCPeerConnectionIdentityErrorEvent. It is likely that it will correct this name when it will unprefix RTCPeerConnection, once spec and implementation will have been stabilized.
プロパティ
RTCIdentityErrorEvent は Eventであり、このイベントはEvent のプロパティも実装します。
RTCIdentityErrorEvent.idp読取専用- エラーレスポンスを生成したアイデンティティー・プロバイダ(idp)のdomain name を表す
DOMStringです。 RTCIdentityErrorEvent.loginUrl読取専用- 認証が完了可能なURLを示す
DOMStringです。nullの値をとることもあり、アイデンティティー・プロバイダ(idp)から提供されます。 RTCIdentityErrorEvent.protocol読取専用- 利用されているIdpプロトコルを示す
DOMStringです。
メソッド
RTCIdentityErrorEvent は Eventであり、このイベントはEvent のプロパティも実装します。具体的なRTCIdentityErrorEvent メソッドはありません。
例
pc.onidpassertionerror = function( ev ) {
alert("The idp named '" +
ev.idp +
"' encountered an error " +
"while generating an assertion.");
}
仕様
| Specification | Status | Comment |
|---|---|---|
| WebRTC 1.0: Real-time Communication Between Browser The definition of 'RTCIdentityErrorEvent' in that specification. |
草案 | Initial definition. |
ブラウザ互換性
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | (有) | (有) [1] | 未サポート | (有) | ? |
| Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | 未サポート | ? | ? |
[1] Gecko はこのインタフェースを次の名前で実装しています: RTCPeerConnectionIdentityErrorEvent.
See also
- WebRTC
- このイベントの通常ターゲット:
RTCPeerConnection.

