- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMusicKitModule.m
More file actions
Latest commit
18 lines (13 loc) · 433 Bytes
/
Copy pathMusicKitModule.m
File metadata and controls
18 lines (13 loc) · 433 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
// MusicKitModule.m
// macOSNativeModuleExample-macOS
//
// Created by Anthony on 12/22/23.
//
#import<Foundation/Foundation.h>
#import<React/RCTBridgeModule.h>
@interfaceRCT_EXTERN_MODULE(MusicKitModule, NSObject)
RCT_EXTERN_METHOD(requestAuthorization: (RCTPromiseResolveBlock)resolve
rejecter: (RCTPromiseRejectBlock)reject)
RCT_EXTERN__BLOCKING_SYNCHRONOUS_METHOD(currentAuthorizationStatus)
@end