mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-11 07:43:28 +01:00
Installs apps from AltStore via AltServer
This commit is contained in:
@@ -11,23 +11,13 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
extern NSErrorDomain const ALTDeviceErrorDomain;
|
||||
|
||||
typedef NS_ERROR_ENUM(ALTDeviceErrorDomain, ALTDeviceError)
|
||||
{
|
||||
ALTDeviceErrorUnknown,
|
||||
ALTDeviceErrorNotConnected,
|
||||
ALTDeviceErrorConnectionFailed,
|
||||
ALTDeviceErrorWriteFailed,
|
||||
};
|
||||
|
||||
@interface ALTDeviceManager : NSObject
|
||||
|
||||
@property (class, nonatomic, readonly) ALTDeviceManager *sharedManager;
|
||||
|
||||
@property (nonatomic, readonly) NSArray<ALTDevice *> *connectedDevices;
|
||||
|
||||
- (NSProgress *)installAppAtURL:(NSURL *)fileURL toDevice:(ALTDevice *)altDevice completionHandler:(void (^)(BOOL success, NSError *_Nullable error))completionHandler;
|
||||
- (NSProgress *)installAppAtURL:(NSURL *)fileURL toDeviceWithUDID:(NSString *)udid completionHandler:(void (^)(BOOL success, NSError *_Nullable error))completionHandler;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user