|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nativex.monetization.ApplicationInputs
public class ApplicationInputs
Helper class that represents bundle of data for use when initializing the MonetizationManager
.
Field Summary | |
---|---|
private String |
appId
The AppId is provided by NativeX and identifies the application in our system. |
private String |
applicationName
The application name. |
private com.nativex.monetization.enums.Language |
language
Language preference supplied by publishers.Default language set to English (US). |
private String |
packageName
The package name of the application. |
private String |
publisherUserId
Developer payload. |
Constructor Summary | |
---|---|
ApplicationInputs()
|
Method Summary | |
---|---|
String |
getAppId()
Returns the AppId of the application. |
String |
getApplicationName()
Returns the store application name. |
com.nativex.monetization.enums.Language |
getLanguage()
Returns the language set by the publisher. |
String |
getPackageName()
Returns package name of the application. |
String |
getPublisherUserId()
Returns the PublisherUserId. |
void |
setAppId(int appId)
Sets the AppId of the applications. |
void |
setAppId(String appId)
Sets the AppId of the applications. |
void |
setApplicationName(String applicationName)
Sets the application name. |
void |
setLanguage(com.nativex.monetization.enums.Language language)
Sets the language preference. |
void |
setPackageName(String packageName)
Sets the package name of the application. |
void |
setPublisherUserId(String publisherUserId)
Sets the PublisherUserId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String applicationName
private String appId
private String publisherUserId
private String packageName
private com.nativex.monetization.enums.Language language
Constructor Detail |
---|
public ApplicationInputs()
Method Detail |
---|
public String getApplicationName()
String
. The name of the application.public void setApplicationName(String applicationName)
applicationName
- String
. The name of the application.public String getAppId()
Integer
. The AppId.public void setAppId(int appId)
appId
- Integer
. The AppId.public void setAppId(String appId)
appId
- String
. The AppId.public String getPublisherUserId()
String
. The PublisherUserId.public void setPublisherUserId(String publisherUserId)
publisherUserId
- String
. A string that will be sent to the server.public String getPackageName()
String
. The packaga name of the application.public void setPackageName(String packageName)
packageName
- String
. The package name of the application.public com.nativex.monetization.enums.Language getLanguage()
Language
. Language set by publisher.public void setLanguage(com.nativex.monetization.enums.Language language)
language
- Language
. Language set for localisation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |