Forum Feedback Documentation incorrect for Client class in Android SDK

Problem with the website? Confused about something? Or maybe you just have something you'd like to suggest. This is the place to do it.

Documentation incorrect for Client class in Android SDK

Postby DSI » September 23rd, 2017, 3:32 pm

Hi there,

I started to integrate with PlayerIO SDK, when trying to get a Client object following the documentation in:

https://playerio.com/documentation/refe ... oid/Client

The code there is probably outdated, since the class PlayerIO doesn't have a "connect" method at all:
Code: Select all
//Connect to Player.IO
Client client = PlayerIO.connect(
  "[Enter your game id here]",
  "public",
  "user-id",
  null,
  null
);



I found a code which I'm testing in the class PlayerIO directly, but please, it would be very good if you update the documentation in the Client class for the Android SDK.

Thank you very much
DSI
 
Posts: 1
Joined: September 23rd, 2017, 3:29 pm

Re: Documentation incorrect for Client class in Android SDK

Postby Henrik » September 27th, 2017, 3:56 am

Hey DSI,

Thank you for pointing this out, I've fixed the examples in the Client and Multiplayer classes since they used the old Connect method and not the new Authenticate method. The new changes will go out by the next release.

At least the examples in the PlayerIO class shows you how to get started with the Android client:
https://playerio.com/documentation/refe ... d/PlayerIO
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to Feedback



cron