Can I detect when a user is screen sharing?
Generated on 8/2/2024
1 search
Yes, you can detect when a user is screen sharing by utilizing the system's start broadcast button each time they start a screen capture or share. This is particularly relevant for visionOS, where the system will automatically replace the normally black background with the passthrough camera's view, enabling the "see what I see" capability in your captures. This feature requires the use of a broadcast upload extension to receive the feed and visionOS's built-in broadcast feature through ReplayKit.
For more details, you can refer to the session Introducing enterprise APIs for visionOS.
Relevant Sessions
What’s new in DockKit
Discover how intelligent tracking in DockKit allows for smoother transitions between subjects. We will cover what intelligent tracking is, how it uses an ML model to select and track subjects, and how you can use it in your app.
Introducing enterprise APIs for visionOS
Find out how you can use new enterprise APIs for visionOS to create spatial experiences that enhance employee and customer productivity on Apple Vision Pro.
Capture HDR content with ScreenCaptureKit
Learn how to capture high dynamic colors using ScreenCaptureKit, and explore new features like HDR support, microphone capture, and straight-to-file recording.
Customize spatial Persona templates in SharePlay
Learn how to use custom spatial Persona templates in your visionOS SharePlay experience to fine-tune the placement of Personas relative to your app. We’ll show you how to adopt custom spatial Persona templates in a sample app with SharePlay, move participants between seats, and test your changes in Simulator. We’ll also share best practices for designing custom spatial templates that will make your experience shine.
Build a great Lock Screen camera capture experience
Find out how the LockedCameraCapture API can help you bring your capture application’s most useful information directly to the Lock Screen. Examine the API’s features and functionality, learn how to get started creating a capture extension, and find out how that extension behaves when the device is locked.