//
//   ______     _   _                 _          _____ _____  _  __
//  |  ____|   | | (_)               | |        / ____|  __ \| |/ /
//  | |__   ___| |_ _ _ __ ___   ___ | |_ ___  | (___ | |  | | ' /
//  |  __| / __| __| | '_ ` _ \ / _ \| __/ _ \  \___ \| |  | |  <
//  | |____\__ \ |_| | | | | | | (_) | ||  __/  ____) | |__| | . \
//  |______|___/\__|_|_| |_| |_|\___/ \__\___| |_____/|_____/|_|\_\
//
//
//  Copyright © 2015 Estimote. All rights reserved.

#import <Foundation/Foundation.h>
#import "ESTNearableOperationProtocol.h"
#import "ESTSettingOperation.h"
#import "ESTSettingNearablePower.h"

NS_ASSUME_NONNULL_BEGIN


/**
 *  ESTNearableOperationNearablePower allows to create read/write operations for Nearable Power setting of a device.
 */
@interface ESTNearableOperationNearablePower : ESTSettingOperation <ESTNearableOperationProtocol>

/**
 *  Method allows to create read operation for Nearable Power setting.
 *
 *  @param completion Block invoked when the operation is complete.
 *
 *  @return Initialized object.
 */
+ (instancetype)readOperationWithCompletion:(ESTSettingNearablePowerCompletionBlock)completion;

/**
 *  Method allows to create write operation for Nearable Power setting.
 *
 *  @param setting    Setting to be written to a device.
 *  @param completion Block invoked when the operation is complete.
 *
 *  @return Initialized object.
 */
+ (instancetype)writeOperationWithSetting:(ESTSettingNearablePower *)setting completion:(ESTSettingNearablePowerCompletionBlock)completion;

@end

NS_ASSUME_NONNULL_END