WebAppInterface
fWebApp(WebAppInterfaceRef(new WebAppInterface(UserCredentials()), true)),
fWebApp = WebAppInterfaceRef(new WebAppInterface(credentials));
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(resultEnvelope);
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(info);
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(summaryResponse);
errorCode = WebAppInterface::ErrorCodeFromResponse(errorMessage);
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(userDetailResponse);
WebAppInterface::_SendJsonRequest(const char* urlPathComponents, const BString& jsonString,
WebAppInterface::_SendRawGetRequest(const BString urlPathComponents, BDataIO* stream)
WebAppInterface::WebAppInterface(const UserCredentials& value)
WebAppInterface::_LogPayload(BPositionIO* requestData, size_t size)
WebAppInterface::_LengthAndSeekToZero(BPositionIO* data)
WebAppInterface::_Credentials()
WebAppInterface::~WebAppInterface()
WebAppInterface::_ObtainValidAccessToken()
WebAppInterface::_SetCredentials(const UserCredentials& value)
WebAppInterface::Nickname()
WebAppInterface::GetChangelog(const BString& packageName, BMessage& message)
WebAppInterface::RetrieveUserRatingSummaryForPackage(const BString& packageName,
WebAppInterface::RetrieveUserRatingsForPackageForDisplay(
WebAppInterface::RetrieveUserRatingForPackageAndVersionByUser(const BString& packageName,
WebAppInterface::RetrieveUserDetailForCredentials(const UserCredentials& credentials,
WebAppInterface::RetrieveCurrentUserDetail(BMessage& message)
WebAppInterface::UnpackUserDetail(BMessage& responseEnvelopeMessage, UserDetail& userDetail)
WebAppInterface::UnpackAccessToken(BMessage& responseEnvelopeMessage, AccessToken& accessToken)
WebAppInterface::RetrieveUserUsageConditions(const BString& code, UserUsageConditions& conditions)
WebAppInterface::AgreeUserUsageConditions(const BString& code, BMessage& responsePayload)
WebAppInterface::_RetrieveUserUsageConditionsMeta(const BString& code, BMessage& message)
WebAppInterface::_RetrieveUserUsageConditionsCopy(const BString& code, BDataIO* stream)
WebAppInterface::CreateUserRating(const BString& packageName, const BPackageVersion& version,
WebAppInterface::UpdateUserRating(const BString& ratingID, const BString& naturalLanguageCode,
WebAppInterface::RetrieveScreenshot(const BString& code, int32 width, int32 height, BDataIO* stream)
WebAppInterface::RequestCaptcha(BMessage& message)
WebAppInterface::CreateUser(const BString& nickName, const BString& passwordClear,
WebAppInterface::AuthenticateUserRetainingAccessToken()
WebAppInterface::_AuthenticateUserRetainingAccessToken(const BString& nickName,
WebAppInterface::AuthenticateUser(const BString& nickName, const BString& passwordClear,
WebAppInterface::IncrementViewCounter(const PackageInfoRef package, const DepotInfoRef depot,
WebAppInterface::RetrievePasswordRequirements(PasswordRequirements& passwordRequirements)
WebAppInterface::_RetrievePasswordRequirementsMeta(BMessage& message)
WebAppInterface::ErrorCodeFromResponse(BMessage& responseEnvelopeMessage)
WebAppInterface::_SendJsonRequest(const char* urlPathComponents, BPositionIO* requestData,
WebAppInterface::_SendJsonRequest(const char* urlPathComponents, const AccessToken& accessToken,
typedef BReference<WebAppInterface> WebAppInterfaceRef;
class WebAppInterface : public BReferenceable
WebAppInterface(const UserCredentials& value);
virtual ~WebAppInterface();
switch (WebAppInterface::ErrorCodeFromResponse(info)) {
switch (WebAppInterface::ErrorCodeFromResponse(info)) {
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(responsePayload);
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(responsePayload);
int32 errorCode = WebAppInterface::ErrorCodeFromResponse(responsePayload);
if (WebAppInterface::ErrorCodeFromResponse(responsePayload) != ERROR_CODE_NONE) {
switch (WebAppInterface::ErrorCodeFromResponse(responseEnvelopeMessage)) {
result = WebAppInterface::UnpackUserDetail(responseEnvelopeMessage, userDetail);