-
- 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 WpwlOptions
addValue(@NonNull() String key, @NonNull() Object value)
Add WPWL configuration as key value pair. Object
getValue(@NonNull() String key)
Get value for associated key for configuration. WpwlOptions
addJSFunction(@NonNull() String key, @NonNull() String value)
Add WPWL JavaScript configuration such as function as key value pair. String
getJSFunction(@NonNull() String key)
Get value associated with key for JavaScript configuration. String
getWpwlConfigurations()
Get WPWL configuration. int
describeContents()
void
writeToParcel(@NonNull() Parcel dest, int i)
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
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()
-
-
-
-