EnabledProtocols Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. EnabledProtocols
- com.
public final class EnabledProtocols
Class to specify which protocols are enabled.
Constructor Summary
Constructor | Description |
---|---|
EnabledProtocols() |
Creates an instance of Enabled |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
dash()
Get the dash property: Enable DASH protocol or not. |
boolean |
download()
Get the download property: Enable Download protocol or not. |
boolean |
hls()
Get the hls property: Enable HLS protocol or not. |
boolean |
smoothStreaming()
Get the smooth |
void |
validate()
Validates the instance. |
Enabled |
withDash(boolean dash)
Set the dash property: Enable DASH protocol or not. |
Enabled |
withDownload(boolean download)
Set the download property: Enable Download protocol or not. |
Enabled |
withHls(boolean hls)
Set the hls property: Enable HLS protocol or not. |
Enabled |
withSmoothStreaming(boolean smoothStreaming)
Set the smooth |
Methods inherited from java.lang.Object
Constructor Details
EnabledProtocols
public EnabledProtocols()
Creates an instance of EnabledProtocols class.
Method Details
dash
public boolean dash()
Get the dash property: Enable DASH protocol or not.
Returns:
download
public boolean download()
Get the download property: Enable Download protocol or not.
Returns:
hls
public boolean hls()
Get the hls property: Enable HLS protocol or not.
Returns:
smoothStreaming
public boolean smoothStreaming()
Get the smoothStreaming property: Enable SmoothStreaming protocol or not.
Returns:
validate
public void validate()
Validates the instance.
withDash
public EnabledProtocols withDash(boolean dash)
Set the dash property: Enable DASH protocol or not.
Parameters:
Returns:
withDownload
public EnabledProtocols withDownload(boolean download)
Set the download property: Enable Download protocol or not.
Parameters:
Returns:
withHls
public EnabledProtocols withHls(boolean hls)
Set the hls property: Enable HLS protocol or not.
Parameters:
Returns:
withSmoothStreaming
public EnabledProtocols withSmoothStreaming(boolean smoothStreaming)
Set the smoothStreaming property: Enable SmoothStreaming protocol or not.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for