SKProductStorePromotionController.FetchStorePromotionVisibilityAsync 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.
public virtual System.Threading.Tasks.Task<StoreKit.SKProductStorePromotionVisibility> FetchStorePromotionVisibilityAsync (StoreKit.SKProduct product);
abstract member FetchStorePromotionVisibilityAsync : StoreKit.SKProduct -> System.Threading.Tasks.Task<StoreKit.SKProductStorePromotionVisibility>
override this.FetchStorePromotionVisibilityAsync : StoreKit.SKProduct -> System.Threading.Tasks.Task<StoreKit.SKProductStorePromotionVisibility>
Parameters
- product
- SKProduct
The product whose visibility to fetch.
Returns
A task that represents the asynchronous FetchStorePromotionVisibility operation. The value of the TResult parameter is of type System.Action<StoreKit.SKProductStorePromotionVisibility,Foundation.NSError>.