Android SDK Version
  • java.lang.Object
    • com.facebook.share.model.ShareMedia
All Implemented Interfaces:
Direct Known Subclasses:

public abstract class ShareMedia
extends java.lang.Object
implements ShareModel
Base class for shared media (photos, videos, etc).
Nested Class Summary
Modifier and TypeClass and Description
static class ShareMedia.Builder<M extends ShareMedia,B extends ShareMedia.Builder>
Builder for the ShareMedia class.
static class ShareMedia.Type 
Constructor Summary
ModifierConstructor and Description
protected ShareMedia(ShareMedia.Builder builder) 
Method Summary
Modifier and TypeMethod and Description
intdescribeContents() 
abstract ShareMedia.TypegetMediaType() 
BundlegetParameters()
Deprecated. 
This method is deprecated. Use GraphRequest directly to set parameters.
voidwriteToParcel(Parcel dest, int flags) 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

ShareMedia

protected ShareMedia(ShareMedia.Builder builder)
Method Detail

getParameters

@Deprecated
public Bundle getParameters()
Deprecated. This method is deprecated. Use GraphRequest directly to set parameters.

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)

getMediaType

public abstract ShareMedia.Type getMediaType()