public sealed class NucleusCloudPrintOptions
Settings of NucleusCloudPrintClient.
Constructors
| Signature | Description |
# NucleusCloudPrintOptions() | |
Properties
| Property | Type | Description |
CallTimeout { get; set; } | TimeSpan | Time limit of one call. |
ConnectRetries { get; set; } | int | Repeats of a call that could not reach the service at all (nothing accepted, no double print). |
ConnectRetryDelay { get; set; } | TimeSpan | |
DescriptorSetPath { get; set; } | string | Optional FileDescriptorSet of a newer proto bundle: export it in Nucleus (API Collection > Export) and run, in the bundle folder, protoc -I protos -I google --include_imports -o nucleus.pb $(find protos -name '*.proto'). Without it the built-in definitions of bundle nucleus-apis-v1 are used. |
Endpoint { get; set; } | Uri | |
HttpClient { get; set; } | HttpClient | Own HttpClient (proxy, handler); must allow HTTP/2. Null = a shared client of the library. |
MaxInlineBytes { get; set; } | int | Largest inline payload (content.data); the API takes up to 10 MB. |
Token { get; set; } | string | API token from Zebra Nucleus (ID icon > API Tokens > New API Token; starts with zbr_nuc_, shown only once). Null = NucleusCloudPrintOptions.TokenVariable or the file in NucleusCloudPrintOptions.TokenFileVariable. |
UseReflection { get; set; } | bool | Ask the service for its definitions by gRPC server reflection before using the built-in ones. Off by default: Zebra's endpoint has no reflection (bundle README); useful only for gateways or test services that offer it. |
Fields & Constants