MegaTrackerFrameFilter.FallbackOptions Class

Description

Fallback options mainly used for develop and debug.

These options are default on, because they are useful for developers to do some tests when they are new to Mega.

For real Mega experience, please

  1. Turn off these options when you are on spot, or

  2. Use FramePlayer to play EIF data for remote test.


Fields

AllowNoTracking

C#

public bool AllowNoTracking

Allow Mega to run without device motion tracking ability. Generally you should treat your application in “develop mode” if this option is on.

Mega will run defectively without device motion tracking ability, the behavior is not suitable for most application scenarios.

This option is default on, because it is useful for developers to do some tests on PCs if not using FramePlayer to play EIF data. Don’t forget to turn it off before upload your application to app store.

Warning messages will be displayed on screen if this option is on. In some rare cases, when you want to use Mega when device motion tracking is missing, you can turn off warning message by changing MegaTrackerFrameFilter.FallbackOptions.WarnAllowNoTracking .

AllowNonEifRemote

C#

public bool AllowNonEifRemote

Allow Mega to run for non-eif remote test. You should treat your application in “develop mode” if this option is on.

Mega will run defectively for remote test if the test is not performed using FramePlayer to play EIF data. Mega will not get its best if this option is on.

This option is default on, because it is useful for developers to do some tests remotely if not using FramePlayer to play EIF data. Don’t forget to turn it off before upload your application to app store, or if you can do tests with EIF data.

Warning messages will always be displayed on screen if this option is on, you are not able to turn it off.

Notice: Don’t turn off this option while doing non-eif remote test, you will get very bad behavior from Mega cloud service which may lead to very wrong conclusion.

WarnAllowNoTracking

C#

public bool WarnAllowNoTracking

Display warning message on screen when MegaTrackerFrameFilter.FallbackOptions.AllowNoTracking is true.