WAX Unity Web3 Suite
AnchorLink
AnchorLink
  • Getting Started
  • Installation
    • WebGL installation
  • Examples
    • Quick Start
    • Login
    • Transact (with a Session)
    • Transact (without a Session)
    • Token Transfer
    • Vote
    • Manage CPU/NET
    • Sell Ram
    • Buy Ram
    • Bid Name
  • API Docs
    • AnchorLinkSharp
      • AnchorLink
      • ChannelInfo
      • Defaults
      • IdentifyResult
      • LinkAbiData
      • LinkCallback
      • LinkChannelSession
      • LinkChannelSessionData
      • LinkConstants
      • LinkCreate
      • LinkFallbackSession
      • LinkFallbackSessionData
      • LinkInfo
      • LinkOptions
      • LinkSession
      • LinkSessionDataBase
      • LinkSessionDataConverter
      • LinkSignatureProvider
      • LinkSignatureProviderArgs
      • LinkUtils
      • LoginResult
      • SealedMessage
      • SerializedLinkSession
      • TransactArgs
      • TransactOptions
      • TransactResult
      • WebSocketWrapper
      • Interfaces
        • ILinkOptions
        • ILinkStorage
        • ILinkTransport
      • Exceptions
        • LinkException
        • IdentityException
        • CancelException
        • SessionException
    • EosioSigningRequest
      • AbiConstants
      • CallbackPayload
      • IZlibProvider
      • IdentityV2
      • IdentityV3
      • InfoPair
      • RejectedPayload
      • RequestSignature
      • ResolvedCallback
      • ResolvedSigningRequest
      • SigningRequest
      • SigningRequestAbi
      • SigningRequestConstants
      • SigningRequestCreateArguments
      • SigningRequestCreateIdentityArguments
      • SigningRequestData
      • SigningRequestEncodingOptions
      • TransactionContext
      • TransactionHeader
    • AnchorLinkTransportSharp
      • Transports
        • UnityTransport
        • UnityCanvasTransport
        • UnityUiToolkitTransport
          • ScreenBase
          • PanelBase
          • FailurePanel
          • LoadingPanel
          • QrCodePanel
          • SigningTimerPanel
          • SuccessPanel
          • TimeoutPanel
          • Utils
      • StorageProviders
        • PlayerPrefsStorage
        • JsonLocalStorage
      • TransportOptions
      • NetZlibProvider
Powered by GitBook
On this page
  • Summary
  • Members
Edit on GitHub
  1. API Docs
  2. AnchorLinkTransportSharp
  3. Transports

UnityTransport

class AnchorLinkTransportSharp::Src::UnityTransport
  : public MonoBehaviour
  : public ILinkTransport

Summary

Members
Descriptions

The Storage used for sessions and metadata.

Puts the passed string into the clipboard buffer to be pasted elsewhere.

Call this to generate a QR code based on the parameters passed.

Method is invoked when a request is made and user signing on the wallet is required.

Method is invoked when a succesful signing request is completed.

Method is invoked when a signing request fails or is cancelled.

Method is invoked when a request to sign or login is made and the QR code and link are generated and displayed.

The Status of the current Request.

The current active Request.

The activeCancel Delegate (invoked when a Request is cancelled)

Members

The Storage used for sessions and metadata.

Puts the passed string into the clipboard buffer to be pasted elsewhere.

Parameters

  • targetString Text to be copied to the buffer

Call this to generate a QR code based on the parameters passed.

Parameters

  • textForEncoding The actual texture that will be encoded into a QRCode

  • textureWidth How wide the new texture should be

  • textureHeight How high the new texture should be

Returns

Method is invoked when a request is made and user signing on the wallet is required.

Method is invoked when a succesful signing request is completed.

Parameters

  • request

  • result

Method is invoked when a signing request fails or is cancelled.

Parameters

  • request

  • exception

Method is invoked when a request to sign or login is made and the QR code and link are generated and displayed.

Parameters

  • request

The Status of the current Request.

The current active Request.

The activeCancel Delegate (invoked when a Request is cancelled)

PreviousTransportsNextUnityCanvasTransport

Last updated 2 years ago

public

public (TransportOptions options)

public void (SigningRequest request, Action< object > cancel)

public void ( session, SigningRequest request, Action< object > cancel)

public async Task< SigningRequest > (SigningRequest request, session)

public void (string targetString)

public Texture2D (string textForEncoding, int textureWidth, int textureHeight, Color32 baseColor, Color32 pixelColor)

public abstract void ()

public abstract void (SigningRequest request, result)

public abstract void (SigningRequest request, Exception exception)

public abstract void (SigningRequest request)

private readonly bool

private SigningRequest

private Action< object >

private Color32[] (string textForEncoding, int width, int height)

public

public (TransportOptions options)

public void (SigningRequest request, Action< object > cancel)

public void ( session, SigningRequest request, Action< object > cancel)

public async Task< SigningRequest > (SigningRequest request, session)

public void (string targetString)

public Texture2D (string textForEncoding, int textureWidth, int textureHeight, Color32 baseColor, Color32 pixelColor)

public abstract void ()

public abstract void (SigningRequest request, result)

public abstract void (SigningRequest request, Exception exception)

public abstract void (SigningRequest request)

private readonly bool

private SigningRequest

private Action< object >

private Color32[] (string textForEncoding, int width, int height)

ILinkStorage
Storage
UnityTransport
OnRequest
LinkSession
OnSessionRequest
LinkSession
Prepare
CopyToClipboard
StringToQRCodeTexture2D
ShowLoading
TransactResult
OnSuccess
OnFailure
DisplayRequest
_requestStatus
_activeRequest
_activeCancel
StringEncoder
ILinkStorage
Storage
UnityTransport
OnRequest
LinkSession
OnSessionRequest
LinkSession
Prepare
CopyToClipboard
StringToQRCodeTexture2D
ShowLoading
TransactResult
OnSuccess
OnFailure
DisplayRequest
_requestStatus
_activeRequest
_activeCancel
StringEncoder