public abstract class AliyunClip
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
mClipHeight |
protected int |
mClipWidth |
| Modifier | Constructor and Description |
|---|---|
protected |
AliyunClip() |
| Modifier and Type | Method and Description |
|---|---|
int |
getClipHeight()
Gets height of resource clip , Unit : Pixels
|
int |
getClipWidth()
Gets width of resource clip , Unit : Pixels
|
AliyunDisplayMode |
getDisplayMode()
Gets the display mode of this clip.
|
int |
getId()
Gets the id, unique identifier, of this clip.
|
MediaType |
getMediaType()
Gets the media type of this clip.
|
java.lang.String |
getSource()
Gets the URL of this clip.
|
TransitionBase |
getTransition()
Gets the transition method of this clip.
|
void |
setDisplayMode(AliyunDisplayMode mode)
Sets the display mode of this clip.
|
void |
setId(int id)
Sets the id of this clip.
|
void |
setMediaType(MediaType mediaType)
Sets the medio type of this clip.
|
void |
setSource(java.lang.String mSource)
Sets the URL of this clip.
|
void |
setTransition(TransitionBase transition)
Sets the transition method of this clip.
|
public int getId()
public void setId(int id)
id - public java.lang.String getSource()
public void setSource(java.lang.String mSource)
mSource - The URL of this clip.public TransitionBase getTransition()
public void setTransition(TransitionBase transition)
transition - TransitionCircle
TransitionFade
TransitionFiveStar
TransitionShutter
TransitionTranslatepublic AliyunDisplayMode getDisplayMode()
AliyunDisplayModepublic void setDisplayMode(AliyunDisplayMode mode)
mode - AliyunDisplayModepublic MediaType getMediaType()
MediaTypepublic void setMediaType(MediaType mediaType)
mediaType - MediaTypepublic int getClipWidth()
public int getClipHeight()