你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EnabledProtocols Class

  • java.lang.Object
    • com.microsoft.azure.management.mediaservices.v2020_05_01.EnabledProtocols

public class EnabledProtocols

Class to specify which protocols are enabled.

Constructor Summary

Constructor Description
EnabledProtocols()

Method Summary

Modifier and Type Method and Description
boolean dash()

Get enable DASH protocol or not.

boolean download()

Get enable Download protocol or not.

boolean hls()

Get enable HLS protocol or not.

boolean smoothStreaming()

Get enable SmoothStreaming protocol or not.

EnabledProtocols withDash(boolean dash)

Set enable DASH protocol or not.

EnabledProtocols withDownload(boolean download)

Set enable Download protocol or not.

EnabledProtocols withHls(boolean hls)

Set enable HLS protocol or not.

EnabledProtocols withSmoothStreaming(boolean smoothStreaming)

Set enable SmoothStreaming protocol or not.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EnabledProtocols

public EnabledProtocols()

Method Details

dash

public boolean dash()

Get enable DASH protocol or not.

Returns:

the dash value

download

public boolean download()

Get enable Download protocol or not.

Returns:

the download value

hls

public boolean hls()

Get enable HLS protocol or not.

Returns:

the hls value

smoothStreaming

public boolean smoothStreaming()

Get enable SmoothStreaming protocol or not.

Returns:

the smoothStreaming value

withDash

public EnabledProtocols withDash(boolean dash)

Set enable DASH protocol or not.

Parameters:

dash - the dash value to set

Returns:

the EnabledProtocols object itself.

withDownload

public EnabledProtocols withDownload(boolean download)

Set enable Download protocol or not.

Parameters:

download - the download value to set

Returns:

the EnabledProtocols object itself.

withHls

public EnabledProtocols withHls(boolean hls)

Set enable HLS protocol or not.

Parameters:

hls - the hls value to set

Returns:

the EnabledProtocols object itself.

withSmoothStreaming

public EnabledProtocols withSmoothStreaming(boolean smoothStreaming)

Set enable SmoothStreaming protocol or not.

Parameters:

smoothStreaming - the smoothStreaming value to set

Returns:

the EnabledProtocols object itself.

Applies to