The MOTAR SDK for Unity allows you to integrate data from the logged in user into your applications via the MOTARProfile Class
The data is returned as a Json.net object or a Texture2D where applicable.
MOTARProfile Class
Namespace: MOTAR
Assembly: Included in the MOTAR SDK
Description
Represents a user profile in the MOTAR system. This class provides essential user information such as their handle, name, and profile picture.
This class is expected to evolve in future versions to include more data for developers.
Usage
An instance of MOTARProfile is accessible after a user has logged in using the MOTAR SDK Auth / Device Sync their user profile information can be accessed using the Communications.Connection.userProfile
The name of the company this user belongs to (can be blank).
profilePicData
Texture2D
Texture for the profile pic
MOTARUserCompanyInfo Class
Namespace: MOTAR
Assembly: Included in the MOTAR SDK
Description
Represents a user profile company information data in the MOTAR system. This class provides essential user information about the company such as their name, and icon
Usage
An instance of MOTARUserCompanyInfo as a subset of MOTARProfile and is accessible after a user has logged in using the MOTAR SDK Auth / Device Sync: