IOSPlatformSDK.h 908 B

12345678910111213141516171819202122232425
  1. //
  2. // IOSPlatformSDK.h
  3. // OYGameSKD
  4. //
  5. // Created by duowan123 on 2021/1/21.
  6. // Copyright © 2021 jiketeam. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @interface IOSPlatformSDK : NSObject
  11. +(instancetype)sharedInstance;//单例
  12. -(void)startWithUrl:(NSURL*)url;//app跳转传参
  13. //oc桥接c++ ---> ios call unity
  14. -(void)bridgingMotionAction:(int)cusid left:(int)left right:(int)right;
  15. -(void)bridgingStepAction:(int)cusid leftStatus:(int)leftStatus rightStatus:(int)rightStatus leftFrag:(int)leftFrag rightFrag:(int)rightFrag;
  16. -(void)bridgingDeviceAction:(int)cusid name:(NSString*)name address:(NSString*)address status:(int)status electricity:(int)electricity;
  17. -(void)bridgingFriensList:(int)code json:(NSString*)json;
  18. -(void)bridgingInviteFriend:(NSString*)userJson inviteInfo:(NSString*)inviteInfo;
  19. -(void)bridgingInteraction:(int)cusid code:(int)code;
  20. @end