element-ios/matrixConsole/Model/ConsoleEmail.h
ylecollen 64d37212dd -> increase the contact row height to 50 (to match to the members list cell).
The thumbnail size is also the same so it should avoid downloading thumbnails if they are already cached

-> renamed some fieds

-> fix some refresh issues
2015-01-21 10:48:38 +01:00

35 lines
1.2 KiB
Objective-C

/*
Copyright 2014 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#import <UIKit/UIKit.h>
@interface ConsoleEmail : NSObject
// email info
@property (nonatomic, readonly) NSString *type;
@property (nonatomic, readonly) NSString *emailAddress;
// contact ID where the email has been found
@property (nonatomic, readonly) NSString *contactID;
// linked matrix account
@property (nonatomic, readonly) NSString *matrixUserID;
@property (nonatomic, readonly) NSString *avatarURL;
@property (nonatomic, readonly) UIImage *avatarImage;
- (id)initWithEmailAddress:(NSString*)anEmailAddress andType:(NSString*)aType within:(NSString*)aContactID;
- (void)getMatrixID;
- (void)loadAvatarWithSize:(CGSize)avatarSize;
@end