mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
26 lines
635 B
Objective-C
26 lines
635 B
Objective-C
//
|
|
// ALTWiredConnection.h
|
|
// AltServer
|
|
//
|
|
// Created by Riley Testut on 1/10/20.
|
|
// Copyright © 2020 Riley Testut. All rights reserved.
|
|
//
|
|
|
|
#import <AltSign/AltSign.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
NS_SWIFT_NAME(WiredConnection)
|
|
@interface ALTWiredConnection : NSObject
|
|
|
|
@property (nonatomic, copy, readonly) ALTDevice *device;
|
|
|
|
- (void)sendData:(NSData *)data completionHandler:(void (^)(BOOL, NSError * _Nullable))completionHandler;
|
|
- (void)receiveDataWithExpectedSize:(NSInteger)expectedSize completionHandler:(void (^)(NSData * _Nullable, NSError * _Nullable))completionHandler;
|
|
|
|
- (void)disconnect;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|