Sharer
Non è disponibile una versione più recente di questa classe. Controlla la versione più recente.

The common interface for components that initiate sharing.

Pacchetto:share
Metodi di istanza
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)
ParametroDescrizione
shouldFailOnDataErrorWhether the dialog should fail if it finds an error.