java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | co.megacool.megacool.SharingStrategy |
Used to define the preferred sharing strategy when an app accepts a file or text, but not both. Currently only used for Facebook's apps (Facebook, Messenger, and the Lite variants).
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SharingStrategy | LINK | Share the link. | |||||||||
SharingStrategy | MEDIA | Share the media file. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | toString() | ||||||||||
static SharingStrategy | valueOf(String name) | ||||||||||
final static SharingStrategy[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Share the link. Some apps may show a preview that may or may not be animated, but you will get the referrals and link-click analytics.
Share the media file. Note that while the media presentation may appear better for the end user, the link is excluded so referrals and link-click analytics won't work.