Package live.hms.video.sdk.models
Class HMSConfig
-
- All Implemented Interfaces:
public final class HMSConfigInformation about which call to join, under what name and the authentication for it.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringuserNameprivate final Stringauthtokenprivate Stringmetadataprivate BooleancaptureNetworkQualityInPreviewprivate final StringinitEndpoint
-
Constructor Summary
Constructors Constructor Description HMSConfig(String userName, String authtoken, String metadata, Boolean captureNetworkQualityInPreview, String initEndpoint)HMSConfig(String userName, String authtoken, String metadata, Boolean captureNetworkQualityInPreview)HMSConfig(String userName, String authtoken, String metadata)HMSConfig(String userName, String authtoken)
-
Method Summary
Modifier and Type Method Description final StringgetUserName()final StringgetAuthtoken()final StringgetMetadata()final UnitsetMetadata(String metadata)final BooleangetCaptureNetworkQualityInPreview()final UnitsetCaptureNetworkQualityInPreview(Boolean captureNetworkQualityInPreview)final StringgetInitEndpoint()-
-
Constructor Detail
-
HMSConfig
HMSConfig(String userName, String authtoken, String metadata, Boolean captureNetworkQualityInPreview, String initEndpoint)
- Parameters:
userName- the name which should be displayed to peers on joining.authtoken- authentication token with the server.metadata- any additional information you'd like to specify for the peer.initEndpoint- a link to your own server's endpoint.
-
HMSConfig
HMSConfig(String userName, String authtoken, String metadata, Boolean captureNetworkQualityInPreview)
- Parameters:
userName- the name which should be displayed to peers on joining.authtoken- authentication token with the server.metadata- any additional information you'd like to specify for the peer.
-
HMSConfig
HMSConfig(String userName, String authtoken, String metadata)
- Parameters:
userName- the name which should be displayed to peers on joining.authtoken- authentication token with the server.metadata- any additional information you'd like to specify for the peer.
-
-
Method Detail
-
getUserName
final String getUserName()
-
getAuthtoken
final String getAuthtoken()
-
getMetadata
final String getMetadata()
-
setMetadata
final Unit setMetadata(String metadata)
- Parameters:
metadata- any additional information you'd like to specify for the peer.
-
getCaptureNetworkQualityInPreview
final Boolean getCaptureNetworkQualityInPreview()
-
setCaptureNetworkQualityInPreview
final Unit setCaptureNetworkQualityInPreview(Boolean captureNetworkQualityInPreview)
-
getInitEndpoint
final String getInitEndpoint()
-
-
-
-