Class HMSSDK.Builder
-
- All Implemented Interfaces:
public final class HMSSDK.Builder
-
-
Constructor Summary
Constructors Constructor Description HMSSDK.Builder(Context context)
-
Method Summary
Modifier and Type Method Description final HMSSDK.BuildersetTrackSettings(HMSTrackSettings trackSettings)final HMSSDK.BuildersetLogSettings(HMSLogSettings hmsLogSettings)final HMSSDK.BuildersetLogLevel(HMSLogger.LogLevel hmsLogLevel)final HMSSDK.BuildersetAnalyticEventLevel(HMSAnalyticsEventLevel level)final HMSSDK.BuildershouldSkipPIIEvents(Boolean shouldSkip)final HMSSDK.BuildersetWebRtcLogLevel(HMSLogger.LogLevel level)final HMSSDK.BuildersetFrameworkInfo(FrameworkInfo frameworkInfo)final UnitenableIceGatheringOnAnyAddressPorts(Boolean enable)When enabled ports not bound to 'any' specific network interface will be used, in addition to normal ports bound to the enumerated interfaces. final HMSSDK.BuilderhaltPreviewJoinForPermissionsRequest(Boolean halt)When set, the SDK will examine the permissions required based on the role of the peer in preview and/or join and emit required permissions in requestPermissionsfor onPreviewListeners and onJoinListeners.final HMSSDKbuild()-
-
Constructor Detail
-
HMSSDK.Builder
HMSSDK.Builder(Context context)
-
-
Method Detail
-
setTrackSettings
final HMSSDK.Builder setTrackSettings(HMSTrackSettings trackSettings)
-
setLogSettings
final HMSSDK.Builder setLogSettings(HMSLogSettings hmsLogSettings)
-
setLogLevel
@Deprecated(message = "use setLogSettings(hmsLogSettings: HMSLogSettings) instead of setLogLevel()") final HMSSDK.Builder setLogLevel(HMSLogger.LogLevel hmsLogLevel)
-
setAnalyticEventLevel
final HMSSDK.Builder setAnalyticEventLevel(HMSAnalyticsEventLevel level)
-
shouldSkipPIIEvents
final HMSSDK.Builder shouldSkipPIIEvents(Boolean shouldSkip)
-
setWebRtcLogLevel
final HMSSDK.Builder setWebRtcLogLevel(HMSLogger.LogLevel level)
-
setFrameworkInfo
final HMSSDK.Builder setFrameworkInfo(FrameworkInfo frameworkInfo)
Intended for SDK purposes, not for general client use.
-
enableIceGatheringOnAnyAddressPorts
final Unit enableIceGatheringOnAnyAddressPorts(Boolean enable)
When enabled ports not bound to 'any' specific network interface will be used, in addition to normal ports bound to the enumerated interfaces. Without this flag, these "any address" ports would only be used when network enumeration fails or is disabled. But under certain conditions, these ports may succeed where others fail, so they may allow the application to work in a wider variety of environments, at the expense of having to allocate additional candidates.
-
haltPreviewJoinForPermissionsRequest
final HMSSDK.Builder haltPreviewJoinForPermissionsRequest(Boolean halt)
When set, the SDK will examine the permissions required based on the role of the peer in preview and/or join and emit required permissions in
requestPermissionsfor onPreviewListeners and onJoinListeners. When this is requested, the app must call back with
-
-
-
-