共用方式為


MCAdvertiserAssistant.ServiceType 屬性

定義

字串,長度介於 1 到 15 個字元之間,可識別要公告的網路通訊協定。

public virtual string ServiceType { [Foundation.Export("serviceType")] get; }
member this.ServiceType : string

屬性值

傳入 , MultipeerConnectivity.MCSession) 建構函式。

屬性

適用於