AudioPlaybackConnection.State 属性

定义

获取 AudioPlaybackConnection 的当前连接状态。

public:
 property AudioPlaybackConnectionState State { AudioPlaybackConnectionState get(); };
AudioPlaybackConnectionState State();
public AudioPlaybackConnectionState State { get; }
var audioPlaybackConnectionState = audioPlaybackConnection.state;
Public ReadOnly Property State As AudioPlaybackConnectionState

属性值

AudioPlaybackConnectionState 枚举的成员,指示当前连接状态。

注解

StateChanged 事件实现处理程序,以便在连接状态更改时接收通知。

适用于

另请参阅