session-ios/SignalUtilitiesKit/OWSDevicesService.h
2020-11-11 10:58:56 +11:00

25 lines
614 B
Objective-C

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern NSString *const NSNotificationName_DeviceListUpdateSucceeded;
extern NSString *const NSNotificationName_DeviceListUpdateFailed;
extern NSString *const NSNotificationName_DeviceListUpdateModifiedDeviceList;
@class OWSDevice;
@interface OWSDevicesService : NSObject
+ (void)refreshDevices;
+ (void)unlinkDevice:(OWSDevice *)device
success:(void (^)(void))successCallback
failure:(void (^)(NSError *))failureCallback;
@end
NS_ASSUME_NONNULL_END