importSettings

open fun importSettings(    @NonNull context: Context,     @NonNull path: String,     @Nullable callback: STWImportSettingsCallback)

Method to import and apply settings received from other contacts.

Deprecated

use importSettings(Context, String, ImportSettingsCallBack)

See also

Parameters

context

Context: The application context

path

String: path of the received SettingAttachment file.

callback

STWImportSettingsCallback callback to handle all settings import events


open fun importSettings(    @NonNull context: Context,     @NonNull attachmentId: String,     @Nullable callback: ImportSettingsCallBack)

Method to import and apply settings received from other contacts.

Parameters

context

Context: The application context

attachmentId

String: The received SettingAttachment file id.

callback

ImportSettingsCallBack callback to handle all settings import events