Class GetGoogleProductMetadataExtension
Extension class to ProductMetadata to add a method to retrieve the Google Product Metadata
Namespace: UnityEngine.Purchasing
Syntax
public static class GetGoogleProductMetadataExtension
Methods
GetGoogleProductMetadata(ProductMetadata)
Get the Google Product Metadata. Can be null.
Declaration
[CanBeNull]
public static GoogleProductMetadata GetGoogleProductMetadata(this ProductMetadata productMetadata)
Parameters
Type | Name | Description |
---|---|---|
ProductMetadata | productMetadata | Product Metadata |
Returns
Type | Description |
---|---|
GoogleProductMetadata | Google Product Metadata |