1#import <ScreenCaptureKit/ScreenCaptureKit.h>
2
3@interface MyClass : NSObject <SCStreamOutput>
4@end
5
6@implementation MyClass
7- (void)stream:(SCStream *)stream
8 didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
9 ofType:(SCStreamOutputType)type {
10}
11
12@end