API

Common

Getting Started
Errors and Codes

User

Register
Login
Get User Profile
Update Profile
Upload Avatar
Reset Password
Logout
Get Public User Profile

User Token

List Tokens
Add Token
Delete Token
Set Default Token
Verify Token
Reset Verification

User vAtom

Get vAtoms by IDs
Get vAtom Inventory
Search vAtoms
Get Actions
Perform Actions
Trash vAtom

User Activity

Get My Threads
Get My Thread Messages
Send Message

Map

Geo Discover vAtoms
Geo Discover vAtom Groups

Update Stream

Web Socket

Face Infrastructure

Face View Registration
Vatom View
Face Selection Procedure

Get User Profile

Overview

This returns the user profile for the current logged in user

Required imports

import io.blockv.common.model.User
import io.blockv.common.internal.net.rest.exception.BlockvException

Request

//returns the current user
blockv.getUserManager().getCurrentUser();

Note: You can access the function through the UserManager found in your blockv singleton. See Getting Started

Example

Get user profile

// blockv is the BLOCKv SDK singleton created in getting started
blockv.getUserManager()
      .getCurrentUser()
      .subscribe(user -> {/*Success*/},
      throwable -> {/*Failure*/});
©2020 BLOCKv
Info