2016-11-02 02:56:09 -07:00
|
|
|
/*
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
/**
|
2016-11-09 06:26:18 -08:00
|
|
|
* Light-weight persistent store for user settings.
|
2016-11-02 02:56:09 -07:00
|
|
|
*
|
|
|
|
|
* It will persist between application launches and application updates.
|
|
|
|
|
*/
|
2016-11-09 06:26:18 -08:00
|
|
|
@interface ARDSettingsStore : NSObject
|
2016-11-02 02:56:09 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 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
|