public class EmailIntentBuilder
extends java.lang.Object
Constructor and Description |
---|
EmailIntentBuilder()
Create a new instance of the builder
|
Modifier and Type | Method and Description |
---|---|
EmailIntentBuilder |
body(java.lang.String body)
set the body
|
android.content.Intent |
get()
get the intent for an email
|
EmailIntentBuilder |
subject(java.lang.String subject)
set the subject
|
EmailIntentBuilder |
to(java.lang.String to)
set the to address
|
public EmailIntentBuilder()
public EmailIntentBuilder to(java.lang.String to)
to
- to addresspublic EmailIntentBuilder subject(java.lang.String subject)
subject
- the email subjectpublic EmailIntentBuilder body(java.lang.String body)
body
- the email bodypublic android.content.Intent get()