Package 

Interface Sharer


  • 
    public interface Sharer
    
                        

    The common interface for components that initiate sharing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class Sharer.Result

      Helper object for handling the result from a share dialog or share operation

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean getShouldFailOnDataError() Specifies whether the sharer should fail if it finds an error with the share content.
      abstract Unit setShouldFailOnDataError(Boolean shouldFailOnDataError) Specifies whether the sharer should fail if it finds an error with the share content.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.