PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ScreenCastAllowed property is used to:
  • find out whether the user can cast the content displayed in the Multimedia control to an external device (compatible with AirPlay),
  • allow or prevent the user from casting the content displayed in the Multimedia control to an external device (compatible with AirPlay).
Example
// Allows the video capture
MM_Multi.ScreenCastAllowed = True
Syntax

Finding out the management status for sharing the video Hide the details

<Result> = <Multimedia control>.ScreenCastAllowed
<Result>: Boolean
  • True if the video can be streamed to an external device (compatible with AirPlay),
  • False otherwise.
<Multimedia control>: Control name
Name of Multimedia control to use.

Allowing or preventing from casting the video Hide the details

<Multimedia control>.ScreenCastAllowed = <Video stream>
<Multimedia control>: Control name
Name of Multimedia control to use.
<Video stream>: Boolean
  • True to allow streaming the video to an external device (compatible with AirPlay). A specific icon is displayed in the Video player.
  • False if the video must not be streamed to an external device (compatible with AirPlay).
Remarks
By default, the content displayed in the Multimedia control can be streamed to an external device (compatible with AirPlay). An icon is automatically displayed, allowing you to stream the video to an external device (compatible with AirPlay).
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment