public final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ co.megacool.megacool.SharingStrategy

Class Overview

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()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SharingStrategy LINK

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.

public static final SharingStrategy MEDIA

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.

Public Methods

public String toString ()

public static SharingStrategy valueOf (String name)

public static final SharingStrategy[] values ()