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.
85 lines
2.7 KiB
85 lines
2.7 KiB
// |
|
// Circle.h |
|
// myWatch |
|
// |
|
// Created by xTT on 15/10/30. |
|
// Copyright © 2015年 xTT. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
#import <UIKit/UIKit.h> |
|
|
|
#import "baseModel.h" |
|
|
|
|
|
#define tagImagePicker 100 |
|
|
|
@class User; |
|
@class Device; |
|
|
|
@interface Circle : baseModel |
|
|
|
@property (nonatomic, strong) NSString *groupid; |
|
@property (nonatomic, strong) NSString *creator; |
|
|
|
@property (nonatomic, strong) NSMutableArray *devices; |
|
@property (nonatomic, strong) NSMutableArray *members; |
|
|
|
/** |
|
聊天群 未读 角标 |
|
*/ |
|
@property (nonatomic, assign) NSInteger msgNum; |
|
|
|
#pragma 获取圈详情 |
|
- (void)getCircleInfoSuccess:(void (^)())success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 获取圈邀请码 |
|
- (void)getCircleInviteTokenSuccess:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 获取信息 |
|
- (void)getCircleMessageWithParameters:(id)parameters |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 获取信息(单聊) |
|
- (void)getCircleSingleMessageWithImei:(NSString *)imei |
|
Parameters:(id)parameters |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 发送信息 |
|
- (void)sendCircleMessageWithParameters:(id)parameters |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 发送信息(单聊) |
|
- (void)sendCircleMessageWithImei:(NSString *)imei |
|
Parameters:(id)parameters |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 清除聊天消息 |
|
- (void)deleteCircleMessageWithParameters:(id)parameters |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 清除聊天消息(单聊) |
|
- (void)deleteSingleMessage:(NSString *)imei |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
#pragma 举报信息 |
|
- (void)reportCircleMessageWithParameters:(id)parameters |
|
success:(void (^)(id responseObject))success |
|
failure:(void (^)())failure; |
|
|
|
- (baseModel *)getObjWithID:(NSString *)sender; |
|
- (User *)getUserWithUserID:(NSString *)userID; |
|
- (Device *)getDeviceWithIMEI:(NSString *)IMEI; |
|
|
|
|
|
+ (UIAlertController *)getCameraSheetCamera:(void (^)())camera |
|
photoLibrary:(void (^)())photoLibrary; |
|
@end
|
|
|