SKProductStorePromotionController.Update Method

Definition

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.

completionHandler
Action<NSError>

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.

completionHandler
Action<NSError>

A handler that accepts the error, if one occurred.

This parameter can be null.

Attributes

Applies to