PlayToConnection.Transferred イベント

定義

再生先接続が次の [再生先] ソースに転送されるときに発生します。

/// [add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
// Register
event_token Transferred(TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;

// Revoke with event_token
void Transferred(event_token const* cookie) const;

// Revoke with event_revoker
PlayToConnection::Transferred_revoker Transferred(auto_revoke_t, TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
// Register
event_token Transferred(TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;

// Revoke with event_token
void Transferred(event_token const* cookie) const;

// Revoke with event_revoker
PlayToConnection::Transferred_revoker Transferred(auto_revoke_t, TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;
[add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public event TypedEventHandler<PlayToConnection,PlayToConnectionTransferredEventArgs> Transferred;
[add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<PlayToConnection,PlayToConnectionTransferredEventArgs> Transferred;
function onTransferred(eventArgs) { /* Your code */ }
playToConnection.addEventListener("transferred", onTransferred);
playToConnection.removeEventListener("transferred", onTransferred);
- or -
playToConnection.ontransferred = onTransferred;
Public Custom Event Transferred As TypedEventHandler(Of PlayToConnection, PlayToConnectionTransferredEventArgs) 

イベントの種類

属性

適用対象

こちらもご覧ください