Freigeben über


VpnService.Builder.SetSession(String) Method

Definition

Set the name of this session.

[Android.Runtime.Register("setSession", "(Ljava/lang/String;)Landroid/net/VpnService$Builder;", "GetSetSession_Ljava_lang_String_Handler")]
public virtual Android.Net.VpnService.Builder SetSession (string session);
[<Android.Runtime.Register("setSession", "(Ljava/lang/String;)Landroid/net/VpnService$Builder;", "GetSetSession_Ljava_lang_String_Handler")>]
abstract member SetSession : string -> Android.Net.VpnService.Builder
override this.SetSession : string -> Android.Net.VpnService.Builder

Parameters

session
String

Returns

Attributes

Remarks

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