Method UpdateSubscription
UpdateSubscription(Product, Product, string, Action<Product, string>, Action<string, string>)
Performs subscription updating, migrating a subscription into another as long as they are both members of the same subscription group on the App Store.
Declaration
public static void UpdateSubscription(Product newProduct, Product oldProduct, string developerPayload, Action<Product, string> appleStore, Action<string, string> googleStore)
Parameters
Type | Name | Description |
---|---|---|
Product | newProduct | Destination subscription product, belonging to the same subscription group as |
Product | oldProduct | Source subscription product, belonging to the same subscription group as |
string | developerPayload | Carried-over metadata from prior call to |
Action<Product, string> | appleStore | Triggered upon completion of the subscription update. |
Action<string, string> | googleStore | Triggered upon completion of the subscription update. |