PlanetKitScreenInterruptDelegate
@objc
public protocol PlanetKitScreenInterruptDelegate
A protocol that defines methods for handling interruptions in screen capture.
-
Called when the screen capture is interrupted.
Declaration
Swift
func scrDidInterruptCapture(_ device: PlanetKitScreenCaptureDevice)
Parameters
device
The screen capture device that was interrupted.
-
Called when the screen capture warning window is minimized.
Declaration
Swift
@objc optional func scrDidInterruptWarningMinimize(_ device: PlanetKitScreenCaptureDevice, window: PlanetKitScreenCaptureWindow)
Parameters
device
The screen capture device that triggered the interruption.
window
The screen capture window that was minimized.
-
Called when the bounds of the screen capture window change.
Declaration
Swift
@objc optional func scrDidInterruptBoundsChange(_ device: PlanetKitScreenCaptureDevice, window: PlanetKitScreenCaptureWindow)
Parameters
device
The screen capture device that triggered the interruption.
window
The screen capture window whose bounds changed.