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

28 lines
525 B
C
Raw Normal View History

#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