MimiProfileConfiguration
public struct MimiProfileConfiguration : Equatable
Configuration which can customize the availability of various features and functionality within a MimiProfileViewController
.
-
Whether to support authorizing remote Mimi compatible devices.
Enabling this will display UI to support remote device authorization in the Mimi Profile.
Warning
To use this you must have an entry forNSCameraUsageDescription
in your Info.plist.Declaration
Swift
public let allowsRemoteDeviceAuthorization: Bool
-
Whether to allow creation of only anonymous users.
Enabling this will disable UI to allow login & signup in the Mimi Profile.
Declaration
Swift
public let allowsAnonymousUserOnly: Bool
-
Whether to show the onboarding introduction.
Disabling this will hide the onboarding introduction in the Mimi Profile.
Declaration
Swift
public let showsOnboardingIntroduction: Bool
-
Configuration which can customize the Sound Personalization features available in the Mimi Profile.
Declaration
Swift
public let personalization: MimiPersonalizationConfiguration
-
init(allowsRemoteDeviceAuthorization:allowsAnonymousUserOnly:showsOnboardingIntroduction:personalization:)
Create new configuration.
Declaration
Swift
public init(allowsRemoteDeviceAuthorization: Bool = false, allowsAnonymousUserOnly: Bool = false, showsOnboardingIntroduction: Bool = true, personalization: MimiPersonalizationConfiguration = .init())
Parameters
allowsRemoteDeviceAuthorization
Whether to support authorizing remote Mimi compatible devices.
allowsAnonymousUserOnly
Whether to allow creation of only anonymous users.
showsOnboardingIntroduction
Whether to show the onboarding introduction.
personalization
Configuration which can customize the Sound Personalization features available in the Mimi Profile.