public interface ISubscriptionProvider
Modifier and Type | Method and Description |
---|---|
byte[] |
getRawSubscription() |
SubscriptionInformations |
loadSubscriptionInformations() |
void |
removeSubscription(Distribution distribution) |
void |
updateSubscription(byte[] sub,
Distribution serverOS) |
void |
updateSubscriptionUrl(Distribution detect,
java.lang.String version) |
SubscriptionInformations loadSubscriptionInformations() throws ServerFault
ServerFault
void updateSubscription(byte[] sub, Distribution serverOS) throws ServerFault
sub
- ServerFault
- code == ErrorCode.NOT_FOUND if update subscription is not
availablevoid removeSubscription(Distribution distribution) throws ServerFault
ServerFault
byte[] getRawSubscription() throws ServerFault
ServerFault
void updateSubscriptionUrl(Distribution detect, java.lang.String version)
Copyright © 2021. All Rights Reserved.