MOTAR Classes
A guide to accessible Classes within the SDK.
Last updated
A guide to accessible Classes within the SDK.
Last updated
The MOTAR SDK for Unity allows you to integrate data from the logged in user into your applications via the MOTARProfile Class
Namespace: MOTAR Assembly: Included in the MOTAR SDK
Represents a user profile in the MOTAR system. This class provides essential user information such as their handle, name, and profile picture.
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
userId
string
The unique identifier for the user.
prefix
string
The user’s prefix (Mr., Ms., Dr., etc.)
firstName
string
The user's first name.
lastName
string
The user's last name.
handle
string
The user's handle or username.
title
string
The user’s title
companyInfo
User Company Info
profilePicId
int
The name of the company this user belongs to (can be blank).
profilePicData
Texture2D
Texture for the profile pic
Namespace: MOTAR Assembly: Included in the MOTAR SDK
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
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:
name
string
The company name.
icon
int
The company icon id.
iconData
Texture2D
Texture for the icon