你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈