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 forNSCameraUsageDescriptionin 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
allowsRemoteDeviceAuthorizationWhether to support authorizing remote Mimi compatible devices.
allowsAnonymousUserOnlyWhether to allow creation of only anonymous users.
showsOnboardingIntroductionWhether to show the onboarding introduction.
personalizationConfiguration which can customize the Sound Personalization features available in the Mimi Profile.
MimiProfileConfiguration Structure Reference