public static interface

Megacool.OnUserIdReceivedListener

co.megacool.megacool.Megacool.OnUserIdReceivedListener

Class Overview

Listener to get the user id for this device. The onUserIdReceived(String) method will be called on the same thread that (fill this in once this is actually settable) is called on

Implement this to get the userId once it's sent from the server.

Summary

Fields
public static final AtomicReference<Handler> handler This creates a Handler using the android.os.Looper of the thread that the callback is created on
Public Methods
abstract void onUserIdReceived(String userId)

Fields

public static final AtomicReference<Handler> handler

This creates a Handler using the android.os.Looper of the thread that the callback is created on

Public Methods

public abstract void onUserIdReceived (String userId)