Android SDK Version
All Known Implementing Classes:

public interface Sharer
The common interface for components that initiate sharing.
Nested Class Summary
Modifier and TypeInterface and Description
static class Sharer.Result
Helper object for handling the result from a share dialog or share operation
Method Summary
Modifier and TypeMethod and Description
booleangetShouldFailOnDataError()
Specifies whether the sharer should fail if it finds an error with the share content.
voidsetShouldFailOnDataError(boolean shouldFailOnDataError)
Specifies whether the sharer should fail if it finds an error with the share content.
Method Detail

getShouldFailOnDataError

boolean getShouldFailOnDataError()
Specifies whether the sharer should fail if it finds an error with the share content. If false, the share dialog will still be displayed without the data that was mis-configured. For example, an invalid placeID specified on the shareContent would produce a data error.
Returns:
A Boolean value.

setShouldFailOnDataError

void setShouldFailOnDataError(boolean shouldFailOnDataError)
Specifies whether the sharer should fail if it finds an error with the share content. If false, the share dialog will still be displayed without the data that was mis-configured. For example, an invalid placeID specified on the shareContent would produce a data error.
Parameters:
shouldFailOnDataError - whether the dialog should fail if it finds an error.