public interface LocalParticleAbility
Local PAs are applicable to services that are closely related to ability service logics and require low response latency.
Local PAs can be called only by a local ability.
You can register a LocalParticleAbility instance with a plug-in manager via the default
register method.
Alternatively, you can create a LocalParticleAbility instance via createLocalParticleAbility using
JavaScript, which automatically completes the registration.
| 限定符和类型 | 接口 | 说明 |
|---|---|---|
static interface |
LocalParticleAbility.Callback |
Provides an asynchronous callback for
LocalParticleAbility instances. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
default void |
deregister(AceAbility ability) |
Deregisters this
LocalParticleAbility instance from the JS UI framework. |
default void |
register(AceAbility ability) |
Registers this
LocalParticleAbility instance with the JS UI framework and binds the instance to a
specified AceAbility. |
default void register(AceAbility ability)
LocalParticleAbility instance with the JS UI framework and binds the instance to a
specified AceAbility.ability - Indicates the AceAbility instance to which this LocalParticleAbility instance
is to be bound.default void deregister(AceAbility ability)
LocalParticleAbility instance from the JS UI framework.ability - Indicates the AceAbility instance bound to this LocalParticleAbility instance.