ecency-mobile/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSService.h

31 lines
622 B
C
Raw Normal View History

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
/**
* Protocol declaring service logic.
*/
@protocol MSService <NSObject>
/**
2019-03-07 17:08:56 +03:00
* Enable or disable this service.
* The state is persisted in the device's storage across application launches.
*
2019-03-07 17:08:56 +03:00
* @param isEnabled Whether this service is enabled or not.
*
2019-03-07 17:08:56 +03:00
* @see isEnabled
*/
+ (void)setEnabled:(BOOL)isEnabled;
/**
2019-03-07 17:08:56 +03:00
* Indicates whether this service is enabled.
*
2019-03-07 17:08:56 +03:00
* @return `YES` if this service is enabled, `NO` if it is not.
*
2019-03-07 17:08:56 +03:00
* @see setEnabled:
*/
+ (BOOL)isEnabled;
@end