Beamable SDK
Classes | Public Member Functions | List of all members
Beamable.Editor.Alias.AliasService Class Reference
Inheritance diagram for Beamable.Editor.Alias.AliasService:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Editor.Alias.AliasService:
Collaboration graph
[legend]

Classes

class  AliasDoesNotExistException
 
class  AliasResolveResponse
 

Public Member Functions

 AliasService (IBeamableRequester httpRequester)
 
async Promise< AliasResolveResolve (string cidOrAlias)
 Given a string that could represent an Alias or a Cid, this method will analyze the string, and resolve it through Beamable to fetch other data. More...
 

Member Function Documentation

◆ Resolve()

async Promise< AliasResolve > Beamable.Editor.Alias.AliasService.Resolve ( string  cidOrAlias)
inline

Given a string that could represent an Alias or a Cid, this method will analyze the string, and resolve it through Beamable to fetch other data.

If the input is a CID, then the result structure will only include the cid, since that is all that is required to use Beamable. If the input is an ALIAS, then the result structure will include the given alias, and the customer CID.

Parameters
cidOrAliasA string that is either a CID or an ALIAS
Returns
A structure that has an optional Alias and an optional Cid

Implements Beamable.Editor.Alias.IAliasService.


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