java.lang.Object | |
↳ | com.google.android.gms.plus.PlusShare.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Create a new Builder for launching a sharing action.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Add a stream URI to the data that should be shared.
|
||||||||||
|
Create a new Builder for launching a sharing action from launchingActivity.
|
||||||||||
|
Retrieve the Intent as configured so far by the Builder.
|
||||||||||
|
Include a deep-link URI to a resource to share on Google+
|
||||||||||
|
Include a deep-link identifier to a resource to share on Google+
|
||||||||||
|
Set a stream URI to the data that should be shared.
|
||||||||||
|
Set the literal text data to be sent as part of the share.
|
||||||||||
|
Set the type of data being shared.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new Builder for launching a sharing action.
Add a stream URI to the data that should be shared. If this is not the first stream URI added the final intent constructed will become an ACTION_SEND_MULTIPLE intent. Not all apps will handle both ACTION_SEND and ACTION_SEND_MULTIPLE.
streamUri | URI of the stream to share. |
---|
Create a new Builder for launching a sharing action from launchingActivity.
launchingActivity | Activity that the share will be launched from |
---|
Retrieve the Intent as configured so far by the Builder. This method will include the package
Include a deep-link URI to a resource to share on Google+
deepLinkUri | The deep-link URI to a resource to share on Google+. |
---|
Include a deep-link identifier to a resource to share on Google+
deepLinkId | The deep-link identifier to a resource to share on Google+. This parameter is required. |
---|---|
title | The title of the resource. This parameter is required. |
description | The description of a resource. This parameter is required. |
thumbnailUri | The thumbnailUri for a resource. This parameter is optional. |
Set a stream URI to the data that should be shared.
This replaces all currently set stream URIs and will produce a single-stream ACTION_SEND intent.
streamUri | URI of the stream to share |
---|
Set the literal text data to be sent as part of the share. This may be a styled CharSequence.
text | Text to share |
---|
Set the type of data being shared.
mimeType | mimetype of the shared data |
---|