-
- All Implemented Interfaces:
-
android.os.Parcelable
public class WpwlOptions implements Parcelable
This class provide API to add/fetch WPWL configuration.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<WpwlOptions>CREATOR
-
Constructor Summary
Constructors Constructor Description WpwlOptions()
-
Method Summary
Modifier and Type Method Description WpwlOptionsaddValue(@NonNull() String key, @NonNull() Object value)Add WPWL configuration as key value pair. ObjectgetValue(@NonNull() String key)Get value for associated key for configuration. WpwlOptionsaddJSFunction(@NonNull() String key, @NonNull() String value)Add WPWL JavaScript configuration such as function as key value pair. StringgetJSFunction(@NonNull() String key)Get value associated with key for JavaScript configuration. StringgetWpwlConfigurations()Get WPWL configuration. intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int i)booleanequals(Object o)inthashCode()StringtoString()-
-
Method Detail
-
addValue
WpwlOptions addValue(@NonNull() String key, @NonNull() Object value)
Add WPWL configuration as key value pair.
- Parameters:
key- Key with which value is to be associated.value- Value which is associated with specified value.
-
getValue
Object getValue(@NonNull() String key)
Get value for associated key for configuration.
- Parameters:
key- Key whose associated value to be returned.
-
addJSFunction
WpwlOptions addJSFunction(@NonNull() String key, @NonNull() String value)
Add WPWL JavaScript configuration such as function as key value pair.
- Parameters:
key- Key with which value is to be associated.value- Value which is associated with specified value.
-
getJSFunction
String getJSFunction(@NonNull() String key)
Get value associated with key for JavaScript configuration.
- Parameters:
key- Key whose associated value to be returned.
-
getWpwlConfigurations
@NonNull() String getWpwlConfigurations()
Get WPWL configuration.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int i)
-
hashCode
int hashCode()
-
-
-
-