# Initializing android platform with the APP_ID as a parameterGDOculusPlatform.initialize_android_async("314159265358979")\
.then(func(_initialization_resp):print("Oculus Platform initialized!")# Is the user entitled to this app?GDOculusPlatform.get_is_viewer_entitled()\
.then(func(_is_viewer_entitled_resp):print("User is entitled!"))\
.error(func(is_viewer_entitled_err):print("User not entitled/error! ",is_viewer_entitled_err)))\
.error(func(initialization_err):print("Oculus Platform initialization error: ",initialization_err))
You may have noticed that we didn't add an error function call to the get_logged_in_user() function. Both the then and error functions are optional, and you can skip them if you don't care about their result.