blob: 65468cdf78ff6629b0d5584c8da2f5a8af46b3bd [file] [log] [blame]
Donald E Curtisa8736442015-08-05 15:48:13 -07001/*
2 * Copyright 2014 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#import <Foundation/Foundation.h>
12
13typedef NS_ENUM(NSInteger, ARDMessageResultType) {
14 kARDMessageResultTypeUnknown,
15 kARDMessageResultTypeSuccess,
16 kARDMessageResultTypeInvalidRoom,
17 kARDMessageResultTypeInvalidClient
18};
19
20@interface ARDMessageResponse : NSObject
21
22@property(nonatomic, readonly) ARDMessageResultType result;
23
24+ (ARDMessageResponse *)responseFromJSONData:(NSData *)data;
25
26@end