Sharer
Há uma versão mais recente desta classe disponível. Confira. a versão mais recente.

The common interface for components that initiate sharing.

Pacote:share
Métodos de instância
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.

public boolean getShouldFailOnDataError()
Returns
A Boolean value.
setShouldFailOnDataError(boolean)

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.

public void setShouldFailOnDataError(boolean shouldFailOnDataError)
ParâmetroDescrição
shouldFailOnDataErrorWhether the dialog should fail if it finds an error.