你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GetCallingSelector type
适用于给定组件的选择器的特定类型。
type GetCallingSelector<Component> = AreEqual<
Component,
typeof VideoGallery
> extends true
? VideoGallerySelector
: AreEqual<Component, typeof DevicesButton> extends true
? DevicesButtonSelector
: AreEqual<Component, typeof MicrophoneButton> extends true
? MicrophoneButtonSelector
: AreEqual<Component, typeof CameraButton> extends true
? CameraButtonSelector
: AreEqual<Component, typeof ScreenShareButton> extends true
? ScreenShareButtonSelector
: AreEqual<Component, typeof ParticipantList> extends true
? ParticipantListSelector
: AreEqual<Component, typeof ParticipantsButton> extends true
? ParticipantsButtonSelector
: AreEqual<Component, typeof EndCallButton> extends true
? EmptySelector
: AreEqual<Component, typeof ErrorBar> extends true
? CallErrorBarSelector
: undefined