SKProductStorePromotionController.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Update(SKProduct[], Action<NSError>) |
Updates the product order on the device. |
Update(SKProductStorePromotionVisibility, SKProduct, Action<NSError>) |
Updates the visibility of the specified product on the device. |
Update(SKProduct[], Action<NSError>)
Updates the product order on the device.
[Foundation.Export("updateStorePromotionOrder:completionHandler:")]
public virtual void Update (StoreKit.SKProduct[] storePromotionOrder, Action<Foundation.NSError> completionHandler);
abstract member Update : StoreKit.SKProduct[] * Action<Foundation.NSError> -> unit
override this.Update : StoreKit.SKProduct[] * Action<Foundation.NSError> -> unit
Parameters
- storePromotionOrder
- SKProduct[]
An array of products in the desired order.
A handler that accepts the error, if one occurred.
This parameter can be null
.
- Attributes
Applies to
Update(SKProductStorePromotionVisibility, SKProduct, Action<NSError>)
Updates the visibility of the specified product on the device.
[Foundation.Export("updateStorePromotionVisibility:forProduct:completionHandler:")]
public virtual void Update (StoreKit.SKProductStorePromotionVisibility promotionVisibility, StoreKit.SKProduct product, Action<Foundation.NSError> completionHandler);
abstract member Update : StoreKit.SKProductStorePromotionVisibility * StoreKit.SKProduct * Action<Foundation.NSError> -> unit
override this.Update : StoreKit.SKProductStorePromotionVisibility * StoreKit.SKProduct * Action<Foundation.NSError> -> unit
Parameters
- promotionVisibility
- SKProductStorePromotionVisibility
The new visibility.
- product
- SKProduct
The product whose visibility to update.
A handler that accepts the error, if one occurred.
This parameter can be null
.
- Attributes