Beamable SDK
Public Member Functions | Public Attributes | List of all members
Beamable.Common.Content.ClientContentInfo Class Reference

This type defines the ClientContentInfo for the ContentService. More...

Public Member Functions

IContentRef ToContentRef ()
 Convert this ClientContentInfo into a IContentRef by using the contentId field. This method verifies that the backing C# class exists. More...
 
Promise< IContentObjectResolve ()
 This object only describes the content, but does not contain the entire content data. This method will get the actual IContentObject by checking for the data at the uri. This may result in a network request if the entry has not been downloaded before. More...
 

Public Attributes

string contentId
 The full content id. A content id is a dot separated string with at least one dot. The right-most clause is the name of the content, and everything else represents the type of the content.
 
string version
 A checksum of the content's data.
 
string uri
 The public uri where the full content json can be downloaded
 
string type
 An internal field that will be removed in a future version. This is NOT the C# backing type of the content.
 
string manifestID
 The id of the manifest that this content was sourced from. For most cases, this will be the default manifest, "global".
 
ContentVisibility visibility = ContentVisibility.Public
 An internal field that will be removed in a future version. This will always be ContentVisibility.Public
 
string[] tags
 A set of content tags. Tags do not effect the version checksum.
 

Detailed Description

This type defines the ClientContentInfo for the ContentService.

Related Links

img beamable-logo

Member Function Documentation

◆ Resolve()

Promise< IContentObject > Beamable.Common.Content.ClientContentInfo.Resolve ( )
inline

This object only describes the content, but does not contain the entire content data. This method will get the actual IContentObject by checking for the data at the uri. This may result in a network request if the entry has not been downloaded before.

Returns

◆ ToContentRef()

IContentRef Beamable.Common.Content.ClientContentInfo.ToContentRef ( )
inline

Convert this ClientContentInfo into a IContentRef by using the contentId field. This method verifies that the backing C# class exists.

Returns
A IContentRef<TContent>

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