Back to project page box-android-sdk-v2-master.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRI...
If you think the Android project box-android-sdk-v2-master listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.box.boxandroidlibv2.viewlisteners; /*w w w . j av a 2s. c om*/ import com.box.boxjavalibv2.interfaces.IAuthFlowMessage; /** * A String message. */ public class StringMessage implements IAuthFlowMessage { public static final String MESSAGE_URL = "url"; private final String mKey; private final String mValue; /** * Constructor. * * @param key * key of the message * @param value * value of the message string */ public StringMessage(final String key, final String value) { this.mValue = value; this.mKey = key; } @Override public Object getData() { return mValue; } @Override public String getKey() { return mKey; } }