![JAR search and dependency download from the Maven repository](/logo.png)
pocketknife.Key Maven / Gradle / Ivy
The newest version!
package pocketknife;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.CLASS;
/**
* Specifies the key that is to be used for the {@link android.content.Intent} extra or the {@link android.os.Bundle} argument.
* See {@literal @}{@link pocketknife.IntentBuilder}, {@literal @}{@link pocketknife.BundleBuilder}, or {@literal @}{@link pocketknife.FragmentBuilder}
*
*
* {@literal @}{@link pocketknife.IntentBuilder}(action = {@link android.content.Intent.ACTION_SEND})
* Intent buildIntent({@literal @}Key({@link android.content.Intent.EXTRA_EMAIL}) String email);
*
*/
@Retention(CLASS)
@Target(PARAMETER)
public @interface Key {
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy