Skip to main content
Version: 21 Aug 2024

DispatchPayload6

Overloads the generic dispatcher to call back a method with four payloads More...

Inherits from:
UnityEngine.XR.MagicLeap.Native.MLThreadDispatch.Dispatcher

Detailed Description

private template <A ,B ,C ,D ,E ,F > class DispatchPayload6 : Dispatcher 

Template Parameters:

  • A First payload type
  • B Second payload type
  • C Third payload type
  • D Forth payload type
  • E Fifth payload type
  • E Sixth payload type

Public Methods

override void Dispatch

Dispatches the previously stored callback with the supplied payloads

public override void Dispatch()

DispatchPayload6

Initializes a new instance of the DispatchPayload6<A,B,C,D,E,F> class with the supplied callback and payloads

public DispatchPayload6(
A payload1,
B payload2,
C payload3,
D payload4,
E payload5,
F payload6,
System.Action< A, B, C, D, E, F > action
)

Parameters

TypeNameDescription
Apayload1First payload
Bpayload2Second payload
Cpayload3Third payload
Dpayload4Forth payload
Epayload5Fifth payload
Fpayload6Sixth payload
System.Action< A, B, C, D, E, F >actionMethod to dispatch