API Reference

com.kinvey.android

Class AsyncUserDiscovery

  • com.kinvey.android.AsyncUserDiscovery
    • Method Detail

      • userLookup

        public com.kinvey.java.model.UserLookup userLookup()
      • lookupByFullName

        public void lookupByFullName(java.lang.String firstname,
                                     java.lang.String lastname,
                                     KinveyUserListCallback callback)

        Asynchronous user lookup by first and last name

        Constructs an asynchronous request to find a user by first and last name, and returns the associated User object via a KinveyUserListCallback.

        Sample Usage:

        ` *

        Parameters:
        firstname - a java.lang.String object.
        lastname - a java.lang.String object.
        callback - a interface KinveyUserListCallback object.
      • lookupByUserName

        public void lookupByUserName(java.lang.String username,
                                     KinveyUserListCallback callback)

        Asynchronous user lookup by username

        Constructs an asynchronous request to find a user by username, and returns the associated User object via a KinveyUserListCallback.

        Sample Usage:

        Parameters:
        username - a java.lang.String object.
        callback - a interface KinveyUserListCallback object.
      • lookupByFacebookID

        public void lookupByFacebookID(java.lang.String facebookID,
                                       KinveyUserListCallback callback)

        Asynchronous user lookup by Facebook ID

        Constructs an asynchronous request to find a user by facebook ID, and returns the associated User object via a KinveyUserListCallback.

        Sample Usage:

        Parameters:
        facebookID - a java.lang.String object.
        callback - a interface KinveyUserListCallback object.
      • lookup

        public void lookup(com.kinvey.java.model.UserLookup userlookup,
                           KinveyUserListCallback callback)

        Asynchronous user lookup method

        Constructs an asynchronous request to find a user, and returns the associated User object via a KinveyClientCallback. Requests are constructed with a com.google.api.client.json.GenericJson object, which can be instantiated via the com.kinvey.java.UserDiscovery.userLookup factory method.

        Sample Usage:

        Parameters:
        userlookup - a UserLookup object.
        callback - a com.kinvey.java.core.KinveyClientCallback object.