SKProductStorePromotionController.FetchStorePromotionVisibility Method

Definition

Fetches the visibility of the specified product on the device.

[Foundation.Export("fetchStorePromotionVisibilityForProduct:completionHandler:")]
public virtual void FetchStorePromotionVisibility (StoreKit.SKProduct product, Action<StoreKit.SKProductStorePromotionVisibility,Foundation.NSError> completionHandler);
abstract member FetchStorePromotionVisibility : StoreKit.SKProduct * Action<StoreKit.SKProductStorePromotionVisibility, Foundation.NSError> -> unit
override this.FetchStorePromotionVisibility : StoreKit.SKProduct * Action<StoreKit.SKProductStorePromotionVisibility, Foundation.NSError> -> unit

Parameters

product
SKProduct

The product whose visibility to fetch.

completionHandler
Action<SKProductStorePromotionVisibility,NSError>

A handler that accepts the error, if one occurred.

This parameter can be null.

Attributes

Applies to