commit | author | age
|
d1f6ab
|
1 |
// |
H |
2 |
// WAFBSharePhoto.h |
|
3 |
// WASdkIntfUI |
|
4 |
// |
|
5 |
// Created by wuyx on 16/3/15. |
|
6 |
// Copyright © 2016年 GHW-T-01. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
#import <UIKit/UIKit.h> |
|
11 |
/*! |
|
12 |
@discussion WAFBSharePhoto |
|
13 |
- - - |
|
14 |
*/ |
|
15 |
@interface WASharePhoto : NSObject |
|
16 |
/*! |
|
17 |
@abstract If the photo is resident in memory, this method supplies the data. |
|
18 |
@return UIImage representation of the photo |
|
19 |
*/ |
|
20 |
@property (nonatomic, strong) UIImage *image; |
|
21 |
|
|
22 |
/*! |
|
23 |
@abstract The URL to the photo. |
|
24 |
@return URL that points to a network location or the location of the photo on disk |
|
25 |
*/ |
|
26 |
@property (nonatomic, copy) NSURL *imageURL; |
|
27 |
|
|
28 |
/*! |
|
29 |
@abstract Specifies whether the photo represented by the receiver was generated by the user or by the application. |
|
30 |
@return YES if the photo is user-generated, otherwise NO |
|
31 |
*/ |
|
32 |
@property (nonatomic, assign) BOOL userGenerated; |
|
33 |
|
|
34 |
|
|
35 |
/*! |
|
36 |
@abstract The user generated caption for the photo. Note that the 'caption' must come from |
|
37 |
* the user, as pre-filled content is forbidden by the Platform Policies (2.3). |
|
38 |
@return the Photo's caption if exists else returns null. |
|
39 |
*/ |
|
40 |
@property (nonatomic, copy) NSString *caption; |
|
41 |
@end |