Click or drag to resize

IMediaReceiverSupports Method

Checks if the receiver supports casting of CastMode.

Namespace:  DotNetBrowser.Cast
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.3
Syntax
C#
bool Supports(
	CastMode castMode,
	PresentationRequest presentationRequest = null
)

Parameters

castMode
Type: DotNetBrowser.CastCastMode
The parameter of the types of content that can be cast to a media receiver.
presentationRequest (Optional)
Type: DotNetBrowser.CastPresentationRequest
The parameter of the JavaScript PresentationRequest.

Return Value

Type: Boolean
true if the receiver supports casting of CastMode, false otherwise.
Remarks

The PresentationRequest parameter should be set only for the Presentation mode.

See Also