Chromium Code Reviews| Index: webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.h |
| diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.h b/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..88c2313ba0b1a91b8c98cf6d9f3a1d8f34ea1479 |
| --- /dev/null |
| +++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.h |
| @@ -0,0 +1,34 @@ |
| +/* |
| + * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
| + * |
| + * Use of this source code is governed by a BSD-style license |
| + * that can be found in the LICENSE file in the root of the source |
| + * tree. An additional intellectual property rights grant can be found |
| + * in the file PATENTS. All contributing project authors may |
| + * be found in the AUTHORS file in the root of the source tree. |
| + */ |
| + |
| +#import <Foundation/Foundation.h> |
| + |
| +NS_ASSUME_NONNULL_BEGIN |
| + |
| +/** |
| + * Light-weight persistent store for media constraints user settings. |
| + * |
| + * It will presist between application launches and application updates. |
|
magjed_webrtc
2016/10/31 19:26:39
nit: persist
daniela-webrtc
2016/11/01 09:51:12
Done.
|
| + */ |
| +@interface ARDMediaConstraintsSettingsStore : NSObject |
| + |
| +/** |
| + * Returns current video resolution media constraint string stored in the store. |
| + */ |
| +- (nullable NSString *)videoResolutionConstraintsSetting; |
| + |
| +/** |
| + * Stores the provided value as video resolution media constraint. |
| + * @param value the string to be stored |
| + */ |
| +- (void)setVideoResolutionConstraintsSetting:(NSString *)value; |
| + |
| +@end |
| +NS_ASSUME_NONNULL_END |