共用方式為


SKProductStorePromotionController.Update 方法

定義

多載

Update(SKProduct[], Action<NSError>)

更新裝置上的產品訂單。

Update(SKProductStorePromotionVisibility, SKProduct, Action<NSError>)

更新裝置上指定產品的可見度。

Update(SKProduct[], Action<NSError>)

更新裝置上的產品訂單。

[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

參數

storePromotionOrder
SKProduct[]

依所需順序排列的產品陣列。

completionHandler
Action<NSError>

如果發生錯誤,則為接受錯誤的處理常式。

這個參數可以是 null

屬性

適用於

Update(SKProductStorePromotionVisibility, SKProduct, Action<NSError>)

更新裝置上指定產品的可見度。

[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

參數

promotionVisibility
SKProductStorePromotionVisibility

新的可見度。

product
SKProduct

要更新其可見度的產品。

completionHandler
Action<NSError>

如果發生錯誤,則為接受錯誤的處理常式。

這個參數可以是 null

屬性

適用於