AEPSource
@interface AEPSource : NSObject
* The resource of edit project
-
* The type of resource
Declaration
Objective-C
@property (nonatomic, readonly) AEPSourceType type; -
* The id of resource
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *sourceId; -
* The path of resource
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *path; -
* The url of resource
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *URL; -
* The size of resource (KB)
Declaration
Objective-C
@property (nonatomic, readonly) size_t size; -
* is local
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isLocal;
-
* Create resource
Declaration
Objective-C
+ (AEPSource *)SourceWithType:(AEPSourceType)type sourceId:(NSString *)sourceId url:(NSString *)url path:(NSString *)path;Parameters
typethe type of resoruce
sourceIdthe id of resource
urlthe url of resource
paththe local path of resource
-
* create resource obj with path
Declaration
Objective-C
- (AEPSource *)createWithPath:(NSString *)path;Parameters
paththe local path of resource
-
* create resource obj with url
Declaration
Objective-C
- (AEPSource *)createWithURL:(NSString *)URL;Parameters
urlthe url of resource
-
* create resource obj with sourceId
Declaration
Objective-C
- (AEPSource *)createWithSourceId:(NSString *)sourceId;Parameters
sourceIdthe id of resoruce
AEPSource Class Reference