Browse Source

APPLEMAIL-33 Add documentation to PEPUpdateDownloadXPCApiProtocol

APPLEMAIL-33
David Alarcon 2 years ago
parent
commit
9087e907f7
1 changed files with 8 additions and 10 deletions
  1. +8
    -10
      Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdateDownloadXPCService/Shared/PEPUpdateDownloadXPCApiProtocol.h

+ 8
- 10
Submodules/PEPUpdatesXPCService/PEPUpdatesXPCService/PEPUpdateDownloadXPCService/Shared/PEPUpdateDownloadXPCApiProtocol.h View File

@ -11,26 +11,24 @@
static NSString *pEpUpdateDownloadXPCMachName = @"foundation.pEp.adapter.macOS_OpenStep";
/// This protocol is providing the XPC interface to the User Interface
/// This protocol is providing the XPC interface for update downloads to pEp updates app.
@protocol PEPUpdateDownloadXPCApiProtocol
/**
subscribe to the published notifications about downloads arriving
- Parameter endpoint
*/
/// Subscribe to the notifications about update downloads status.
/// @param endpoint The anonymous endpoint from the update download notification status service
/// in pEp updates app.
- (void)subscribeForUpdate:(NSXPCListenerEndpoint*)endpoint;
/// unsubscribe from receiving notifications about downloads arriving
/// Unsubscribe from receiving notifications about update downloads status.
- (void)unsubscribeForUpdate;
/// search for immediate updates
/// Check for update downloads.
- (void)updateNow;
/// schedules updates each 2 hours
/// Schedules check for update downloads every 2 hours.
- (void)scheduleUpdates;
/// stop auto updates
/// Stop schedule the update downloads.
- (void)stopUpdates;
@end

Loading…
Cancel
Save