-
public interface SharerThe common interface for components that initiate sharing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSharer.ResultHelper object for handling the result from a share dialog or share operation
-
Method Summary
Modifier and Type Method Description abstract BooleangetShouldFailOnDataError()Specifies whether the sharer should fail if it finds an error with the share content. abstract UnitsetShouldFailOnDataError(Boolean shouldFailOnDataError)Specifies whether the sharer should fail if it finds an error with the share content. -
-
Method Detail
-
getShouldFailOnDataError
abstract 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.
-
setShouldFailOnDataError
abstract Unit 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.
-
-
-
-