Platforms to show: All Mac Windows Linux Cross-Platform

SKProductMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The App Store class for a product.
Example
// load the in-app purchase products of your app and show their prices
// MyProductsRequest is a subclass of SKProductsRequestMBS with the didReceiveResponse event implemented.
// Request is a property of the window: Request As MyProductsRequest
Var ids() As String = Array("com.example.myapp.pro", "com.example.myapp.tips")
Request = New MyProductsRequest(ids)
Request.start

// in MyProductsRequest:
Sub didReceiveResponse(products() As SKProductMBS, invalidProductIdentifiers() As String) Handles didReceiveResponse
For Each p As SKProductMBS In products
System.DebugLog p.productIdentifier + ": " + p.localizedTitle + " for " + p.priceString
Next
End Sub

SKProductMBS objects are returned as part of an didReceiveResponse event in SKProductsRequestMBS class and are used to provide information about a product previously registered with the Apple App Store.

Please also check the documentation from Apple for the SKProduct class.
Available in Mac OS X v10.7 and later.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no subclasses.

Blog Entries

Release notes

  • Version 19.1
    • Added downloadContentLength, downloadContentLengths, downloadContentVersion and subscriptionGroupIdentifier to SKProductMBS class.

Some methods using this class:

Some events using this class:

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS MacCloud Plugin.


SKProductDiscountMBS   -   SKProductsRequestMBS


The biggest plugin in space...