ProximityLocationResultSource Class¶
Description¶
Proximity location result output port.
It is used to expose output port for a component.
All members of this class is thread-safe.
setHandler¶
Sets data handler.
- C
void easyar_ProximityLocationResultSource_setHandler(easyar_ProximityLocationResultSource * This, easyar_OptionalOfFunctorOfVoidFromProximityLocationResult handler)
- C++
void setHandler(std::optional<std::function<void(ProximityLocationResult)>> handler)
- Java
public void setHandler(@Nullable FunctorOfVoidFromProximityLocationResult handler)
- Kotlin
fun setHandler(handler: FunctorOfVoidFromProximityLocationResult?): Unit
- Objective-C
- (void)setHandler:(void (^)(easyar_ProximityLocationResult *))handler
- Swift
public func setHandler(_ handler: ((ProximityLocationResult) -> Void)?) -> Void
- C#
public virtual void setHandler(Optional<Action<ProximityLocationResult>> handler)
connect¶
Connects to input port.
- C
void easyar_ProximityLocationResultSource_connect(easyar_ProximityLocationResultSource * This, easyar_ProximityLocationResultSink * sink)
- C++
void connect(std::shared_ptr<ProximityLocationResultSink> sink)
- Java
public void connect(@Nonnull ProximityLocationResultSink sink)
- Kotlin
fun connect(sink: ProximityLocationResultSink): Unit
- Objective-C
- (void)connect:(easyar_ProximityLocationResultSink *)sink
- Swift
public func connect(_ sink: ProximityLocationResultSink) -> Void
- C#
public virtual void connect(ProximityLocationResultSink sink)
disconnect¶
Disconnects.
- C
void easyar_ProximityLocationResultSource_disconnect(easyar_ProximityLocationResultSource * This)
- C++
void disconnect()
- Java
public void disconnect()
- Kotlin
fun disconnect(): Unit
- Objective-C
- (void)disconnect
- Swift
public func disconnect() -> Void
- C#
public virtual void disconnect()