SKProductStorePromotionController.FetchStorePromotionVisibility 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.
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