[Solved] SdkBoxPlay documentation confuse

hi team, i little bit confused about method documentation
SdkboxPlayListener.h

     * Call method invoked when the Plugin connection changes its status.
     * Values are as follows:
     *   + GPS_CONNECTED:       successfully connected.
     *   + GPS_DISCONNECTED:    successfully disconnected.
     *   + GPS_CONNECTION_ERROR:error with google play services connection.
     */
    void onConnectionStatusChanged( int status );

how can i match this GPS_CONNECTED, GPS_DISCONNECTED, GPS_CONNECTION_ERROR ?

i did not find sample of sdkbox play (c++) at GitHub

Thanks.

Hi,

These are the possibles values for the status. You can test it in the listener :

        void onConnectionStatusChanged( int status ) {
            CCLOG("onConnectionStatusChanged CONNECTED(%d) DISCONNECTED(%d) ERROR(%d)",
                    status == sdkbox::GPS_CONNECTED,
                    status == sdkbox::GPS_DISCONNECTED,
                    status == sdkbox::GPS_CONNECTION_ERROR);
}

Hi here are the sample project for SDKBOX play

@klems @nite
thanks now i see :v: