You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB

//
// XHBubblePhotoImageView.h
// MessageDisplayExample
//
// Created by HUAJIE-1 on 14-4-28.
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XHMessageBubbleFactory.h"
#import "XHMessage.h"
#define kXHBubblePhotoMargin 8.0f // 上下左右的边距
@interface XHBubblePhotoImageView : UIView
/**
*
*/
@property (nonatomic, strong) UIImage *messagePhoto;
/**
*
*/
@property (nonatomic, strong) UIActivityIndicatorView *activityIndicatorView;
/**
*
*/
@property (nonatomic, strong) XHMessage *message;
/**
*
*
* @param messagePhoto
* @param thumbnailUrl URL链接
* @param originPhotoUrl URL链接
* @param bubbleMessageType
*/
- (void)configureMessagePhoto:(UIImage *)messagePhoto thumbnailUrl:(NSString *)thumbnailUrl originPhotoUrl:(NSString *)originPhotoUrl onBubbleMessageType:(XHBubbleMessageType)bubbleMessageType;
/**
*
*
* @return
*/
- (XHBubbleMessageType)getBubbleMessageType;
@end