|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.media.drm.format.f4v.F4VDRMParameters
public class F4VDRMParameters
The parameters for encrypting F4V media.
Nested Class Summary | |
---|---|
static class |
F4VDRMParameters.EncryptionLevel
Indicates whether high (all), medium, or low encryption should be used for video |
Constructor Summary | |
---|---|
F4VDRMParameters()
Creates an F4VDRMParameters instance. |
Method Summary | |
---|---|
boolean |
getEncryptAudio()
Indicates whether audio content will be encrypted. |
int |
getEncryptionStartTime()
Specifies that content should be encrypted starting this many seconds into the content. |
boolean |
getEncryptVideo()
Indicates whether video content will be encrypted. |
KeyParameters |
getKeyParameters()
Gets the parameters for obtaining a key. |
SignatureParameters |
getSignatureParameters()
Gets the signature parameters. |
F4VDRMParameters.EncryptionLevel |
getVideoEncryptionLevel()
Specifies whether video should be encrypted in its entirety or partially. |
void |
setEncryptAudio(boolean encryptFlag)
Determines whether to encrypt audio content. |
void |
setEncryptionStartTime(int seconds)
Specifies that content should be encrypted starting this many seconds into the content. |
void |
setEncryptVideo(boolean encryptFlag)
Determines whether video content is to be encrypted. |
void |
setKeyParameters(KeyParameters keyParams)
Sets the parameters for obtaining a key. |
void |
setSignatureParameters(SignatureParameters sigParams)
Sets the signature parameters. |
void |
setVideoEncryptionLevel(F4VDRMParameters.EncryptionLevel level)
Specifies whether video should be encrypted in its entirety or partially. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public F4VDRMParameters()
F4VDRMParameters
instance.
Method Detail |
---|
public SignatureParameters getSignatureParameters()
DRMParameters
getSignatureParameters
in interface DRMParameters
DRMParameters.getSignatureParameters()
public void setSignatureParameters(SignatureParameters sigParams)
DRMParameters
setSignatureParameters
in interface DRMParameters
sigParams
- The signature parameters.DRMParameters.setSignatureParameters(SignatureParameters)
public KeyParameters getKeyParameters()
DRMParameters
getKeyParameters
in interface DRMParameters
DRMParameters.getKeyParameters()
public void setKeyParameters(KeyParameters keyParams)
DRMParameters
setKeyParameters
in interface DRMParameters
keyParams
- The parameters for obtaining a key.DRMParameters.setKeyParameters(KeyParameters)
public void setEncryptVideo(boolean encryptFlag)
VideoDRMParameters
setEncryptVideo
in interface VideoDRMParameters
encryptFlag
- true
if video is to be encrypted, false
otherwise.VideoDRMParameters.setEncryptVideo(boolean)
If video encryption is disabled, the video encryption level is ignored.
public boolean getEncryptVideo()
VideoDRMParameters
getEncryptVideo
in interface VideoDRMParameters
true
if video will be encrypted, false
otherwise.VideoDRMParameters.getEncryptVideo()
public void setVideoEncryptionLevel(F4VDRMParameters.EncryptionLevel level)
level
- EncryptionLevelpublic F4VDRMParameters.EncryptionLevel getVideoEncryptionLevel()
public void setEncryptAudio(boolean encryptFlag)
AudioDRMParameters
setEncryptAudio
in interface AudioDRMParameters
encryptFlag
- true
if audio is to be encrypted, false
otherwise.AudioDRMParameters.setEncryptAudio(boolean)
public boolean getEncryptAudio()
AudioDRMParameters
getEncryptAudio
in interface AudioDRMParameters
true
if audio will be encrypted, false
otherwise.AudioDRMParameters.getEncryptAudio()
public int getEncryptionStartTime()
DRMParameters
0
indicates that content will be encrypted
from the start of the file.
getEncryptionStartTime
in interface DRMParameters
DRMParameters.getEncryptionStartTime()
public void setEncryptionStartTime(int seconds)
DRMParameters
0
to indicate that content will be encrypted
from the start of the file (this is the default).
setEncryptionStartTime
in interface DRMParameters
seconds
- number of seconds to leave unencrypted at the start of the contentDRMParameters.setEncryptionStartTime(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |