public class ToastNotificationConfigurationImpl extends java.lang.Object implements ToastNotificationConfiguration
Constructor and Description |
---|
ToastNotificationConfigurationImpl(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
int |
getGravity() |
int |
getLayout()
The ID of the layout to be used with the Toast Notification.
|
int |
getXOffset() |
int |
getYOffset() |
void |
setGravity(int gravity) |
void |
setLayout(int layoutId)
Sets the ID of the layout to be used with the Toast Notification.
|
void |
setXOffset(int xOffset) |
void |
setYOffset(int yOffset) |
public ToastNotificationConfigurationImpl(android.content.Context context)
public int getLayout()
ToastNotificationConfiguration
getLayout
in interface ToastNotificationConfiguration
ToastNotificationConfiguration.setLayout(int)
public void setLayout(int layoutId)
ToastNotificationConfiguration
imageView
- an ImageView
that will get the Badge or Level imageobjectName
- a TextView
that will get the name of the Badge or LevelpointsWon
- a TextView
that will get the number of points won from the Badge or LevelsetLayout
in interface ToastNotificationConfiguration
ToastNotificationConfiguration.getLayout()
public int getGravity()
getGravity
in interface ToastNotificationConfiguration
public void setGravity(int gravity)
setGravity
in interface ToastNotificationConfiguration
public int getXOffset()
getXOffset
in interface ToastNotificationConfiguration
public void setXOffset(int xOffset)
setXOffset
in interface ToastNotificationConfiguration
public int getYOffset()
getYOffset
in interface ToastNotificationConfiguration
public void setYOffset(int yOffset)
setYOffset
in interface ToastNotificationConfiguration