This type defines the parent of all Beamable ContentObjects for the ContentService.
More...
|
const string | TooltipNotFoundDebugFallback1a = "(No Tooltip)" |
|
|
string | ContentVersion [get] |
|
string | ContentName [get] |
| The name of the ContentObject
|
|
string | ContentType [get] |
| The type of the ContentObject
|
|
string | Id [get] |
| The id of the ContentObject
|
|
string | ManifestID [get] |
| The Manifest Id
|
|
string | Version [get] |
| The version of the ContentObject
|
|
string[]?? | Tags [getset] |
| The tags of the ContentObject
|
|
string | Id [get] |
| The id. A content id is a dot separated string. The right most part is the name of the content. Every part to the left of the name denotes the type of the content.
|
|
string | Version [get] |
| The version
|
|
string[] | Tags [get] |
| The tags
|
|
string | ManifestID [get] |
|
|
ContentDelegate | OnChanged |
| Invoked after ContentObject field values change
|
|
This type defines the parent of all Beamable ContentObjects for the ContentService.
Direct Subclasses
Related Links
◆ GetContentType< TContent >()
static string Beamable.Common.Content.ContentObject.GetContentType< TContent > |
( |
| ) |
|
|
inlinestatic |
Get the type of the ContentObject
- Template Parameters
-
- Returns
◆ GetContentTypeName()
static string Beamable.Common.Content.ContentObject.GetContentTypeName |
( |
Type |
contentType | ) |
|
|
inlinestatic |
Get the TypeName of the ContentObject
- Parameters
-
- Returns
◆ HasValidationErrors()
bool Beamable.Common.Content.ContentObject.HasValidationErrors |
( |
IValidationContext |
ctx, |
|
|
out List< string > |
errors |
|
) |
| |
|
inline |
Determines if the ContentObject has Validation Errors
- Parameters
-
- Returns
◆ HasValidationExceptions()
Determines if the ContentObject has Validation Exceptions
- Parameters
-
- Returns
◆ Make< TContent >()
static TContent Beamable.Common.Content.ContentObject.Make< TContent > |
( |
string |
name | ) |
|
|
inlinestatic |
Make an instance of the ContentObject
- Parameters
-
- Template Parameters
-
- Returns
- Type Constraints
-
TContent | : | ContentObject | |
TContent | : | new() | |
◆ SetContentName()
ContentObject Beamable.Common.Content.ContentObject.SetContentName |
( |
string |
newContentName | ) |
|
|
inline |
Set the name of the ContentObject
- Parameters
-
- Returns
◆ SetIdAndVersion()
void Beamable.Common.Content.ContentObject.SetIdAndVersion |
( |
string |
id, |
|
|
string |
version |
|
) |
| |
|
inline |
◆ SetManifestID()
void Beamable.Common.Content.ContentObject.SetManifestID |
( |
string |
manifestID | ) |
|
|
inline |
Set the Manifest Id
- Parameters
-
◆ ToJson()
string Beamable.Common.Content.ContentObject.ToJson |
( |
| ) |
|
|
inline |
◆ Validate()
Validate this ContentObject
.
- Exceptions
-
AggregateContentValidationException | Should throw if the content is semantically invalid. |
The documentation for this class was generated from the following file:
- com.beamable/Common/Runtime/Content/ContentObject.cs