Språk

MediaCodec.CryptoException(MediaCodecCryptoErrorType, String) Constructor

Definition

Creates a codec crypto exception with an error code and message, zero vendor/OEM/context fields and no attached crypto-info record.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")]
public CryptoException(Android.Media.MediaCodecCryptoErrorType errorCode, string? detailMessage);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")>]
new Android.Media.MediaCodec.CryptoException : Android.Media.MediaCodecCryptoErrorType * string -> Android.Media.MediaCodec.CryptoException

Parameters

errorCode
MediaCodecCryptoErrorType

The cryptographic error identifier to store in the exception.

detailMessage
String

The message passed to the runtime-exception base.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to