Udostępnij za pośrednictwem


SectionRequest.Version Property

Definition

Gets the version number of requested session.

public int Version { [Android.Runtime.Register("getVersion", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getVersion", "()I", "", ApiSince=33)>]
member this.Version : int

Property Value

Attributes

Remarks

Gets the version number of requested session. If it is null, value will be -1.

The consistency of version numbers between request and response depends on BroadcastInfoRequest.RequestOption. If the request has RequestOption value REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be different from the version of the request. Otherwise, response with a different version from its request will be considered invalid.

Java documentation for android.media.tv.SectionRequest.getVersion().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to