Exemple #1
0
        /*
         */

        public void RegisterUser(ApplozicUser applozicUser, UserLoginListener userLoginListener)
        {
            // Build Applozic users..

            Java.Lang.Void[] args = null;
            new UserLoginTask(applozicUser, userLoginListener, context).Execute(args);
        }
Exemple #2
0
        /*
         */

        public void RegisterUser(string userId, string displayName, string password, UserLoginListener userLoginListener)
        {
            // Build Applozic users..
            var user = new ApplozicUser();

            user.DisplayName = displayName;
            user.UserId      = userId;
            user.Password    = password;
            List <string> featureList = new List <string>();

            featureList.Add(User.Features.IpAudioCall.Value); // FOR AUDIO
            featureList.Add(User.Features.IpVideoCall.Value); // FOR VIDEO
            user.SetFeatures(featureList);                    // ADD FEATURES
            user.AuthenticationTypeId = new Short("1");
            Java.Lang.Void[] args = null;
            new UserLoginTask(user, userLoginListener, context).Execute(args);
        }