Shopify SDK for Unity
Public Member Functions | Static Public Member Functions | List of all members
Shopify.Unity.UnknownMedia Class Reference

UnknownMedia is a response object. With UnknownMedia.Create you'll be able instantiate objects implementing Media. UnknownMedia.Create will return one of the following types:

More...

Inheritance diagram for Shopify.Unity.UnknownMedia:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.Media

Public Member Functions

 UnknownMedia (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
string alt ()
 A word or phrase to share the nature or contents of a media. More...
 
MediaContentType mediaContentType ()
 The media content type. More...
 
Image previewImage ()
 The preview image for the media. More...
 
object Clone ()
 

Static Public Member Functions

static Media Create (Dictionary< string, object > dataJSON)
 Instantiate objects implementing Media. Possible types are:

More...
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

UnknownMedia is a response object. With UnknownMedia.Create you'll be able instantiate objects implementing Media. UnknownMedia.Create will return one of the following types:

Constructor & Destructor Documentation

◆ UnknownMedia()

Shopify.Unity.UnknownMedia.UnknownMedia ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for Media

Member Function Documentation

◆ alt()

string Shopify.Unity.UnknownMedia.alt ( )
inline

A word or phrase to share the nature or contents of a media.

Implements Shopify.Unity.Media.

◆ Create()

static Media Shopify.Unity.UnknownMedia.Create ( Dictionary< string, object >  dataJSON)
inlinestatic

Instantiate objects implementing Media. Possible types are:

◆ mediaContentType()

MediaContentType Shopify.Unity.UnknownMedia.mediaContentType ( )
inline

The media content type.

Implements Shopify.Unity.Media.

◆ previewImage()

Image Shopify.Unity.UnknownMedia.previewImage ( )
inline

The preview image for the media.

Implements Shopify.Unity.Media.


The documentation for this class was generated from the following file: