Package com.heroiclabs.nakama.api
Interface AccountFacebookInstantGameOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AccountFacebookInstantGame
,AccountFacebookInstantGame.Builder
public interface AccountFacebookInstantGameOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsVars
(String key) Extra information that will be bundled in the session token.The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)com.google.protobuf.ByteString
The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)getVars()
Deprecated.int
Extra information that will be bundled in the session token.Extra information that will be bundled in the session token.getVarsOrDefault
(String key, String defaultValue) Extra information that will be bundled in the session token.getVarsOrThrow
(String key) Extra information that will be bundled in the session token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSignedPlayerInfo
String getSignedPlayerInfo()The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1;
- Returns:
- The signedPlayerInfo.
-
getSignedPlayerInfoBytes
com.google.protobuf.ByteString getSignedPlayerInfoBytes()The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
string signed_player_info = 1;
- Returns:
- The bytes for signedPlayerInfo.
-
getVarsCount
int getVarsCount()Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
containsVars
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
getVars
Deprecated.UsegetVarsMap()
instead. -
getVarsMap
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
getVarsOrDefault
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-
getVarsOrThrow
Extra information that will be bundled in the session token.
map<string, string> vars = 2;
-