Language

NetworkSliceInfo.Builder.SetSliceDifferentiator(Int32) Method

Definition

Set the Slice Differentiator.

[Android.Runtime.Register("setSliceDifferentiator", "(I)Landroid/telephony/data/NetworkSliceInfo$Builder;", "", ApiSince=31)]
public Android.Telephony.Data.NetworkSliceInfo.Builder SetSliceDifferentiator(int sliceDifferentiator);
[<Android.Runtime.Register("setSliceDifferentiator", "(I)Landroid/telephony/data/NetworkSliceInfo$Builder;", "", ApiSince=31)>]
member this.SetSliceDifferentiator : int -> Android.Telephony.Data.NetworkSliceInfo.Builder

Parameters

sliceDifferentiator
Int32

The value that distinguishes slices with the same service type, from 0 through 16777214, or SliceDifferentiatorNoSlice (-1) if there is no corresponding slice.

Returns

The same instance of the builder. This value cannot be null.

Attributes

Remarks

Set the Slice Differentiator.

A value of NetworkSliceInfo.SLICE_DIFFERENTIATOR_NO_SLICE indicates that there is no corresponding Slice.

Android reference for android.telephony.data.NetworkSliceInfo.Builder.setSliceDifferentiator.

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