OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #import <UIKit/UIKit.h> | 11 #import <UIKit/UIKit.h> |
12 | 12 |
13 @class ARDMediaConstraintsModel; | 13 @class ARDSettingsModel; |
14 | 14 |
15 NS_ASSUME_NONNULL_BEGIN | 15 NS_ASSUME_NONNULL_BEGIN |
16 /** | 16 /** |
17 * Displays settings options. | 17 * Displays settings options. |
18 */ | 18 */ |
19 @interface ARDSettingsViewController : UITableViewController | 19 @interface ARDSettingsViewController : UITableViewController |
20 | 20 |
21 /** | 21 /** |
22 * Creates new instance. | 22 * Creates new instance. |
23 * | 23 * |
24 * @param style the table view style that should be used | 24 * @param style the table view style that should be used |
25 * @param mediaConstraintsModel model class for the media constraints settings. | 25 * @param settingsModel model class for the user settings. |
26 */ | 26 */ |
27 - (instancetype)initWithStyle:(UITableViewStyle)style | 27 - (instancetype)initWithStyle:(UITableViewStyle)style |
28 mediaConstraintsModel:(ARDMediaConstraintsModel *)mediaConstraintsModel; | 28 settingsModel:(ARDSettingsModel *)settingsModel; |
29 | 29 |
30 #pragma mark - Unavailable | 30 #pragma mark - Unavailable |
31 | 31 |
32 - (instancetype)initWithStyle:(UITableViewStyle)style NS_UNAVAILABLE; | 32 - (instancetype)initWithStyle:(UITableViewStyle)style NS_UNAVAILABLE; |
33 - (instancetype)init NS_UNAVAILABLE; | 33 - (instancetype)init NS_UNAVAILABLE; |
34 + (instancetype) new NS_UNAVAILABLE; | 34 + (instancetype) new NS_UNAVAILABLE; |
35 | 35 |
36 @end | 36 @end |
37 NS_ASSUME_NONNULL_END | 37 NS_ASSUME_NONNULL_END |
OLD | NEW |